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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2019-05-09 12:19:38 +0300
committerSebastian Parborg <darkdefende@gmail.com>2019-05-09 12:21:34 +0300
commit5ab57f7ba41dff3d4554d1cb47db2b2868efe710 (patch)
tree84fefd90ab7b498fc1542eebc2f009ca8986f42d /release
parentffb3226d276fd0af584431bc86ab25fa79c44a37 (diff)
Move out pose edit options into the pose data
Move pose edit mode booleans out of the armature data into the pose data Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4832
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 9610c16e344..bf38e65ff99 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -191,14 +191,14 @@ class VIEW3D_PT_tools_posemode_options(View3DPanel, Panel):
bl_label = "Pose Options"
def draw(self, context):
- arm = context.active_object.data
+ pose = context.active_object.pose
layout = self.layout
- layout.prop(arm, "use_auto_ik")
- layout.prop(arm, "use_mirror_x")
+ layout.prop(pose, "use_auto_ik")
+ layout.prop(pose, "use_mirror_x")
col = layout.column()
- col.active = arm.use_mirror_x
- col.prop(arm, "use_mirror_relative")
+ col.active = pose.use_mirror_x
+ col.prop(pose, "use_mirror_relative")
# ********** default tools for paint modes ****************