Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInes Almeida <britalmeida@gmail.com>2016-03-09 00:59:43 +0300
committerInes Almeida <britalmeida@gmail.com>2016-03-09 00:59:43 +0300
commitca2164d5d7592ba0e5ef8005650c3014161e6d96 (patch)
treeb24c3fd612845acee28661c3053a772a652eb8ef /bone_selection_sets.py
parent17aa4c7daf65ca20d0971d7a27dcdcbef4acd89f (diff)
[Selection Sets] Fix usage with proxies
Diffstat (limited to 'bone_selection_sets.py')
-rw-r--r--bone_selection_sets.py5
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