support enums in new pset_templates

This commit is contained in:
Vukas Pajic
2022-07-04 13:48:51 +02:00
parent 37f91461d2
commit 018be92063
8 changed files with 173 additions and 9 deletions
@@ -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: