Enable export with auto-generated bounding box representations

This commit is contained in:
Dion Moult
2020-08-11 16:32:59 +10:00
parent ffa4e7570d
commit e858930755
3 changed files with 37 additions and 7 deletions
@@ -837,6 +837,11 @@ class BIM_PT_camera(Panel):
def draw(self, context):
layout = self.layout
if '/' not in context.active_object.name:
layout.label(text="This is not a BIM camera.")
return
layout.use_property_split = True
dprops = bpy.context.scene.DocProperties
props = context.active_object.data.BIMCameraProperties