mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
fix ui error in 40e4949
bim.add_manual_classification_reference operator doesn't have a "type" property, only "obj_type"
This commit is contained in:
@@ -155,7 +155,7 @@ class ReferenceUI:
|
|||||||
blenderbim.bim.helper.draw_attributes(self.props.reference_attributes, self.layout)
|
blenderbim.bim.helper.draw_attributes(self.props.reference_attributes, self.layout)
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
op = row.operator("bim.add_manual_classification_reference", text="Save", icon="CHECKMARK")
|
op = row.operator("bim.add_manual_classification_reference", text="Save", icon="CHECKMARK")
|
||||||
op.type = self.data.data["object_type"]
|
op.obj_type = self.data.data["object_type"]
|
||||||
row.operator("bim.disable_adding_manual_classification_reference", text="", icon="CANCEL")
|
row.operator("bim.disable_adding_manual_classification_reference", text="", icon="CANCEL")
|
||||||
else:
|
else:
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
|
|||||||
Reference in New Issue
Block a user