[Selection Sets] Fix usage with proxies
This commit is contained in:
parent
17aa4c7daf
commit
ca2164d5d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue