Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Context not available. | |||||
| col.active = display_all | col.active = display_all | ||||
| col.prop(overlay, "show_face_orientation") | col.prop(overlay, "show_face_orientation") | ||||
| # sub.prop(overlay, "show_onion_skins") | # sub.prop(overlay, "show_onion_skins") | ||||
| Context not available. | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| tool_settings = context.tool_settings | tool_settings = context.tool_settings | ||||
| col = layout.column() | col = layout.column() | ||||
| if context.mode != 'OBJECT': | if context.mode != 'OBJECT': | ||||
| col.prop(tool_settings, "use_proportional_connected") | col.prop(tool_settings, "use_proportional_connected") | ||||
| sub = col.column() | sub = col.column() | ||||
| sub.active = not tool_settings.use_proportional_connected | sub.active = not tool_settings.use_proportional_connected | ||||
| sub.prop(tool_settings, "use_proportional_projected") | sub.prop(tool_settings, "use_proportional_projected") | ||||
| col.separator() | |||||
| col.prop(tool_settings, "draw_proportional_gradient") | |||||
| col.separator() | |||||
| col.prop(tool_settings, "proportional_edit_falloff", expand=True) | col.prop(tool_settings, "proportional_edit_falloff", expand=True) | ||||
| Context not available. | |||||