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:
@@ -174,7 +174,7 @@ class BONE_PT_relations(BoneButtonsPanel):
|
||||
|
||||
if ob and pchan:
|
||||
col.label(text="Bone Group:")
|
||||
col.prop_pointer(pchan, "bone_group", ob.pose, "bone_groups", text="")
|
||||
col.prop_object(pchan, "bone_group", ob.pose, "bone_groups", text="")
|
||||
|
||||
if wide_ui:
|
||||
col = split.column()
|
||||
@@ -182,7 +182,7 @@ class BONE_PT_relations(BoneButtonsPanel):
|
||||
if context.bone:
|
||||
col.prop(bone, "parent", text="")
|
||||
else:
|
||||
col.prop_pointer(bone, "parent", arm, "edit_bones", text="")
|
||||
col.prop_object(bone, "parent", arm, "edit_bones", text="")
|
||||
|
||||
sub = col.column()
|
||||
sub.active = (bone.parent is not None)
|
||||
|
Reference in New Issue
Block a user