WIP refactor model module with new pie menu for convenience. See #1222.

This commit is contained in:
Dion Moult
2021-01-25 14:58:12 +11:00
parent f9521eca54
commit b4ecdfba69
14 changed files with 322 additions and 182 deletions
@@ -17,6 +17,7 @@ class AddOpening(bpy.types.Operator):
def execute(self, context):
obj = bpy.data.objects.get(self.obj) if self.obj else bpy.context.active_object
opening = bpy.data.objects.get(self.opening)
opening.display_type = "WIRE"
if not opening.BIMObjectProperties.ifc_definition_id:
body_context_id = None
if not ContextData.is_loaded: