Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 5,276 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| op.auto_iteration_count = True | op.auto_iteration_count = True | ||||
| op = pie.operator("sculpt.mask_filter", text='Increase Contrast') | op = pie.operator("sculpt.mask_filter", text='Increase Contrast') | ||||
| op.filter_type = 'CONTRAST_INCREASE' | op.filter_type = 'CONTRAST_INCREASE' | ||||
| op.auto_iteration_count = False | op.auto_iteration_count = False | ||||
| op = pie.operator("sculpt.mask_filter", text='Decrease Contrast') | op = pie.operator("sculpt.mask_filter", text='Decrease Contrast') | ||||
| op.filter_type = 'CONTRAST_DECREASE' | op.filter_type = 'CONTRAST_DECREASE' | ||||
| op.auto_iteration_count = False | op.auto_iteration_count = False | ||||
| class VIEW3D_MT_sculpt_automasking_pie(Menu): | |||||
| bl_label = "Automasking" | |||||
| def draw(self, context): | |||||
| layout = self.layout | |||||
| pie = layout.menu_pie() | |||||
| tool_settings = context.tool_settings | |||||
| sculpt = tool_settings.sculpt | |||||
| pie.prop(sculpt, "use_automasking_topology", text="Topology") | |||||
| pie.prop(sculpt, "use_automasking_face_sets", text="Face Sets") | |||||
| pie.prop(sculpt, "use_automasking_boundary_edges", text="Mesh Boundary") | |||||
| pie.prop(sculpt, "use_automasking_boundary_face_sets", text="Face Sets Boundary") | |||||
| class VIEW3D_MT_sculpt_face_sets_edit_pie(Menu): | class VIEW3D_MT_sculpt_face_sets_edit_pie(Menu): | ||||
| bl_label = "Face Sets Edit" | bl_label = "Face Sets Edit" | ||||
| def draw(self, _context): | def draw(self, _context): | ||||
| layout = self.layout | layout = self.layout | ||||
| pie = layout.menu_pie() | pie = layout.menu_pie() | ||||
| ▲ Show 20 Lines • Show All 2,271 Lines • ▼ Show 20 Lines | classes = ( | ||||
| VIEW3D_MT_transform_gizmo_pie, | VIEW3D_MT_transform_gizmo_pie, | ||||
| VIEW3D_MT_shading_pie, | VIEW3D_MT_shading_pie, | ||||
| VIEW3D_MT_shading_ex_pie, | VIEW3D_MT_shading_ex_pie, | ||||
| VIEW3D_MT_pivot_pie, | VIEW3D_MT_pivot_pie, | ||||
| VIEW3D_MT_snap_pie, | VIEW3D_MT_snap_pie, | ||||
| VIEW3D_MT_orientations_pie, | VIEW3D_MT_orientations_pie, | ||||
| VIEW3D_MT_proportional_editing_falloff_pie, | VIEW3D_MT_proportional_editing_falloff_pie, | ||||
| VIEW3D_MT_sculpt_mask_edit_pie, | VIEW3D_MT_sculpt_mask_edit_pie, | ||||
| VIEW3D_MT_sculpt_automasking_pie, | |||||
| VIEW3D_MT_wpaint_vgroup_lock_pie, | VIEW3D_MT_wpaint_vgroup_lock_pie, | ||||
| VIEW3D_MT_sculpt_face_sets_edit_pie, | VIEW3D_MT_sculpt_face_sets_edit_pie, | ||||
| VIEW3D_PT_active_tool, | VIEW3D_PT_active_tool, | ||||
| VIEW3D_PT_active_tool_duplicate, | VIEW3D_PT_active_tool_duplicate, | ||||
| VIEW3D_PT_view3d_properties, | VIEW3D_PT_view3d_properties, | ||||
| VIEW3D_PT_view3d_lock, | VIEW3D_PT_view3d_lock, | ||||
| VIEW3D_PT_view3d_cursor, | VIEW3D_PT_view3d_cursor, | ||||
| VIEW3D_PT_collections, | VIEW3D_PT_collections, | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||