Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Show First 20 Lines • Show All 307 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| pose = context.active_object.pose | pose = context.active_object.pose | ||||
| layout = self.layout | layout = self.layout | ||||
| tool_settings = context.tool_settings | tool_settings = context.tool_settings | ||||
| layout.prop(pose, "use_auto_ik") | layout.prop(pose, "use_auto_ik") | ||||
| layout.prop(pose, "use_mirror_x") | layout.prop(pose, "use_mirror_x") | ||||
| col = layout.column() | col = layout.column() | ||||
| col.active = pose.use_mirror_x | col.active = pose.use_mirror_x and not pose.use_auto_ik | ||||
| col.prop(pose, "use_mirror_relative") | col.prop(pose, "use_mirror_relative") | ||||
| layout.label(text="Affect Only") | layout.label(text="Affect Only") | ||||
| layout.prop(tool_settings, "use_transform_pivot_point_align", text="Locations") | layout.prop(tool_settings, "use_transform_pivot_point_align", text="Locations") | ||||
| # ********** default tools for paint modes **************** | # ********** default tools for paint modes **************** | ||||
| ▲ Show 20 Lines • Show All 1,628 Lines • Show Last 20 Lines | |||||