Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Context not available. | |||||
| bl_label = "Pose Options" | bl_label = "Pose Options" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| arm = context.active_object.data | pose = context.active_object.pose | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.prop(arm, "use_auto_ik") | layout.prop(pose, "use_auto_ik") | ||||
| layout.prop(arm, "use_mirror_x") | layout.prop(pose, "use_mirror_x") | ||||
| col = layout.column() | col = layout.column() | ||||
| col.active = arm.use_mirror_x | col.active = pose.use_mirror_x | ||||
| col.prop(arm, "use_mirror_relative") | col.prop(pose, "use_mirror_relative") | ||||
| # ********** default tools for paint modes **************** | # ********** default tools for paint modes **************** | ||||
| Context not available. | |||||