Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 4,495 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.operator("gpencil.stroke_trim", text="Trim") | layout.operator("gpencil.stroke_trim", text="Trim") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator_menu_enum("gpencil.stroke_join", "type", text="Join") | layout.operator_menu_enum("gpencil.stroke_join", "type", text="Join") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator_menu_enum("gpencil.move_to_layer", "layer", text="Move to Layer") | layout.menu("GPENCIL_MT_move_to_layer") | ||||
| layout.menu("VIEW3D_MT_assign_material") | layout.menu("VIEW3D_MT_assign_material") | ||||
| layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes") | layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes") | ||||
| layout.separator() | layout.separator() | ||||
| # Convert | # Convert | ||||
| op = layout.operator("gpencil.stroke_cyclical_set", text="Close") | op = layout.operator("gpencil.stroke_cyclical_set", text="Close") | ||||
| op.type = 'CLOSE' | op.type = 'CLOSE' | ||||
| ▲ Show 20 Lines • Show All 2,282 Lines • Show Last 20 Lines | |||||