From 96088c1d08ffa07794d20fb8c83845ef75e2cef6 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 23 May 2024 12:35:37 +0500 Subject: [PATCH] fix ui error in 40e4949 bim.add_manual_classification_reference operator doesn't have a "type" property, only "obj_type" --- src/blenderbim/blenderbim/bim/module/classification/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/classification/ui.py b/src/blenderbim/blenderbim/bim/module/classification/ui.py index 3a95966a68..3423545462 100644 --- a/src/blenderbim/blenderbim/bim/module/classification/ui.py +++ b/src/blenderbim/blenderbim/bim/module/classification/ui.py @@ -155,7 +155,7 @@ class ReferenceUI: blenderbim.bim.helper.draw_attributes(self.props.reference_attributes, self.layout) row = self.layout.row(align=True) 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") else: row = self.layout.row()