Different drawings can now have different aspect ratios. Finally!

This commit is contained in:
Dion Moult
2020-08-29 10:28:34 +10:00
parent 6bc05c5bdc
commit c5dd9a24cb
4 changed files with 26 additions and 0 deletions
@@ -341,6 +341,7 @@ if bpy is not None:
bpy.types.VIEW3D_MT_mesh_add.append(model_window.add_object_button)
bpy.types.VIEW3D_MT_mesh_add.append(model_slab.add_object_button)
bpy.types.VIEW3D_MT_mesh_add.append(model_opening.add_object_button)
bpy.app.handlers.depsgraph_update_pre.append(operator.depsgraph_update_pre_handler)
def unregister():
for cls in reversed(classes):
@@ -367,3 +368,4 @@ if bpy is not None:
bpy.types.VIEW3D_MT_mesh_add.remove(model_window.add_object_button)
bpy.types.VIEW3D_MT_mesh_add.remove(model_slab.add_object_button)
bpy.types.VIEW3D_MT_mesh_add.remove(model_opening.add_object_button)
bpy.app.handlers.depsgraph_update_pre.remove(operator.depsgraph_update_pre_handler)