WIP port owner history setting to partial editing. See #1222.

This commit is contained in:
Dion Moult
2021-01-09 12:00:22 +11:00
parent 06e1ee7825
commit 8ef752f173
6 changed files with 54 additions and 42 deletions
-28
View File
@@ -1030,34 +1030,6 @@ class BIM_PT_text(Panel):
row.prop(variable, "prop_key")
class BIM_PT_owner(Panel):
bl_label = "IFC Owner History"
bl_idname = "BIM_PT_owner"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
def draw(self, context):
layout = self.layout
layout.use_property_split = True
scene = context.scene
props = scene.BIMProperties
if not props.person:
layout.label(text="No people found.")
else:
row = layout.row()
row.prop(props, "person")
if not props.organisation:
layout.label(text="No organisations found.")
else:
row = layout.row()
row.prop(props, "organisation")
class BIM_PT_bim(Panel):
bl_label = "Building Information Modeling"
bl_idname = "BIM_PT_bim"