Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| tool_settings = context.tool_settings | tool_settings = context.tool_settings | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False | layout.use_property_decorate = False | ||||
| layout.active = tool_settings.use_mesh_automerge | layout.active = tool_settings.use_mesh_automerge | ||||
| layout.prop(tool_settings, "use_mesh_automerge_split_edges", toggle=False) | |||||
| layout.prop(tool_settings, "double_threshold", text="Threshold") | layout.prop(tool_settings, "double_threshold", text="Threshold") | ||||
| # ********** default tools for editmode_curve **************** | # ********** default tools for editmode_curve **************** | ||||
| class VIEW3D_PT_tools_curveedit_options_stroke(View3DPanel, Panel): | class VIEW3D_PT_tools_curveedit_options_stroke(View3DPanel, Panel): | ||||
| bl_category = "Tool" | bl_category = "Tool" | ||||
| bl_context = ".curve_edit" # dot on purpose (access from topbar) | bl_context = ".curve_edit" # dot on purpose (access from topbar) | ||||
| ▲ Show 20 Lines • Show All 2,039 Lines • Show Last 20 Lines | |||||