[Bf-extensions-cvs] [ca2164d] master: [Selection Sets] Fix usage with proxies

Ines Almeida noreply at git.blender.org
Tue Mar 8 21:58:04 CET 2016


Commit: ca2164d5d7592ba0e5ef8005650c3014161e6d96
Author: Ines Almeida
Date:   Tue Mar 8 21:59:43 2016 +0000
Branches: master
https://developer.blender.org/rBAca2164d5d7592ba0e5ef8005650c3014161e6d96

[Selection Sets] Fix usage with proxies

===================================================================

M	bone_selection_sets.py

===================================================================

diff --git a/bone_selection_sets.py b/bone_selection_sets.py
index 93b8223..4002d81 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



More information about the Bf-extensions-cvs mailing list