mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 17:49:59 +00:00
support enums in new pset_templates
This commit is contained in:
@@ -412,7 +412,7 @@ class BIM_OT_add_property_to_edit(bpy.types.Operator):
|
||||
bl_idname = "bim.add_property_to_edit"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
option: bpy.props.StringProperty()
|
||||
index: bpy.props.IntProperty()
|
||||
index: bpy.props.IntProperty(default=-1)
|
||||
|
||||
def execute(self, context):
|
||||
if self.index == -1:
|
||||
|
||||
Reference in New Issue
Block a user