RNA api
- EditBone was missing 'selected' - renamed 'selectable' to --> 'restrict_select', matching object mode. - renamed 'active_pchan' --> 'active_pose_bone'
This commit is contained in:
@@ -284,7 +284,7 @@ class BONE_PT_properties(BoneButtonsPanel):
|
||||
# reload(rna_prop_ui)
|
||||
obj = context.object
|
||||
if obj and obj.mode == 'POSE':
|
||||
item = "active_pchan"
|
||||
item = "active_pose_bone"
|
||||
else:
|
||||
item = "active_bone"
|
||||
|
||||
|
||||
@@ -1775,7 +1775,7 @@ class VIEW3D_PT_context_properties(bpy.types.Panel):
|
||||
if obj:
|
||||
mode = obj.mode
|
||||
if mode == 'POSE':
|
||||
return "active_pchan"
|
||||
return "active_pose_bone"
|
||||
elif mode == 'EDIT' and obj.type == 'ARMATURE':
|
||||
return "active_bone"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user