more ui api changes.
- remove functions such as operator_int(), operator_enum(), operator_string this mixed with keyword arguments in a way that made them hard to read. Instead, have operator() always return properties rather then needing an argument. - rename prop_pointer() --> prop_object(), pointer is more a C thing. - missed item_enumR(), rename to prop_enum()
This commit is contained in:
@@ -44,6 +44,6 @@ class LOGIC_PT_properties(bpy.types.Panel):
|
||||
row.prop(prop, "type", text="")
|
||||
row.prop(prop, "value", text="", toggle=True) # we dont care about the type. rna will display correctly
|
||||
row.prop(prop, "debug", text="", toggle=True, icon='ICON_INFO')
|
||||
row.operator_int("object.game_property_remove", "index", i, text="", icon='ICON_X')
|
||||
row.operator("object.game_property_remove", text="", icon='ICON_X').index = i
|
||||
|
||||
bpy.types.register(LOGIC_PT_properties)
|
||||
|
||||
Reference in New Issue
Block a user