diff --git a/src/bonsai/bonsai/bim/operator.py b/src/bonsai/bonsai/bim/operator.py index 578f065b17..45e27d31ec 100644 --- a/src/bonsai/bonsai/bim/operator.py +++ b/src/bonsai/bonsai/bim/operator.py @@ -1438,7 +1438,7 @@ class BIM_OT_attribute_add_subitem(bpy.types.Operator): col: bpy.types.bpy_prop_collection_idprop[StrProperty] col = eval(self.data_path) - attr: "Attribute" = col.data + attr: Attribute = col.data if attr.is_optional and not col: attr.is_null = False @@ -1465,7 +1465,7 @@ class BIM_OT_attribute_remove_subitem(bpy.types.Operator): col = eval(self.data_path) col.remove(self.index) - attr: "Attribute" = col.data + attr: Attribute = col.data if attr.is_optional and not col: attr.is_null = True