Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,326 Lines • ▼ Show 20 Lines | def draw(self, _context): | |||||||||||
| layout.operator("gpencil.hide", text="Hide Active Layer").unselected = False | layout.operator("gpencil.hide", text="Hide Active Layer").unselected = False | |||||||||||
| layout.operator("gpencil.hide", text="Hide Inactive Layers").unselected = True | layout.operator("gpencil.hide", text="Hide Inactive Layers").unselected = True | |||||||||||
| class VIEW3D_MT_edit_curves(Menu): | class VIEW3D_MT_edit_curves(Menu): | |||||||||||
| bl_label = "Curves" | bl_label = "Curves" | |||||||||||
| def draw(self, _context): | def draw(self, _context): | |||||||||||
| pass | layout = self.layout | |||||||||||
| layout.menu("VIEW3D_MT_transform") | ||||||||||||
| layout.separator() | ||||||||||||
| class VIEW3D_MT_object_mode_pie(Menu): | class VIEW3D_MT_object_mode_pie(Menu): | |||||||||||
| bl_label = "Mode" | bl_label = "Mode" | |||||||||||
HooglyBooglyUnsubmitted Not Done Inline Actions
HooglyBoogly: | ||||||||||||
| def draw(self, _context): | def draw(self, _context): | |||||||||||
| layout = self.layout | layout = self.layout | |||||||||||
| pie = layout.menu_pie() | pie = layout.menu_pie() | |||||||||||
| pie.operator_enum("object.mode_set", "mode") | pie.operator_enum("object.mode_set", "mode") | |||||||||||
| ▲ Show 20 Lines • Show All 2,901 Lines • Show Last 20 Lines | ||||||||||||