Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Context not available. | |||||
| bl_context = ".mesh_edit" # dot on purpose (access from topbar) | bl_context = ".mesh_edit" # dot on purpose (access from topbar) | ||||
| bl_label = "Options" | bl_label = "Options" | ||||
| bl_options = {'DEFAULT_CLOSED'} | bl_options = {'DEFAULT_CLOSED'} | ||||
| bl_ui_units_x = 12 | bl_ui_units_x = 13 | ||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| Context not available. | |||||
| row.active = tool_settings.use_transform_correct_face_attributes | row.active = tool_settings.use_transform_correct_face_attributes | ||||
| row.prop(tool_settings, "use_transform_correct_keep_connected") | row.prop(tool_settings, "use_transform_correct_keep_connected") | ||||
| col = layout.column(align=True, heading="Drag Select") | |||||
| from bl_ui.space_toolsystem_common import ToolSelectPanelHelper | |||||
| tool = ToolSelectPanelHelper.tool_active_from_context(context) | |||||
| if tool.idname == "builtin.select_circle" or tool.idname_fallback == "builtin.select_circle": | |||||
| col.prop(tool_settings, "select_xray_facedots") | |||||
| elif tool.idname == "builtin.select_box" or tool.idname == "builtin.select_lasso" or tool.idname_fallback == "builtin.select_box" or tool.idname_fallback == "builtin.select_lasso": | |||||
| col.prop(tool_settings, "select_all_edges") | |||||
| col.prop(tool_settings, "fully_enclosed_faces") | |||||
| col.prop(tool_settings, "select_xray_facedots") | |||||
| row = layout.row(align=True, heading="UVs") | row = layout.row(align=True, heading="UVs") | ||||
| row.prop(tool_settings, "use_edge_path_live_unwrap") | row.prop(tool_settings, "use_edge_path_live_unwrap") | ||||
| Context not available. | |||||