diff options
Diffstat (limited to 'bone_selection_sets.py')
-rw-r--r-- | bone_selection_sets.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bone_selection_sets.py b/bone_selection_sets.py index 93b8223d..4002d818 100644 --- a/bone_selection_sets.py +++ b/bone_selection_sets.py @@ -82,8 +82,7 @@ class POSE_PT_selection_sets(Panel): @classmethod def poll(cls, context): - return (context.armature - and context.object + return (context.object and context.object.type == 'ARMATURE' and context.object.pose ) @@ -94,8 +93,6 @@ class POSE_PT_selection_sets(Panel): ob = context.object arm = context.object - layout.enabled = (ob.proxy is None) - row = layout.row() # UI list |