Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 5,068 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.operator("gpencil.extrude_move", text="Extrude") | layout.operator("gpencil.extrude_move", text="Extrude") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.stroke_smooth", text="Smooth").only_selected = True | layout.operator("gpencil.stroke_smooth", text="Smooth").only_selected = True | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.stroke_merge", text="Merge") | layout.operator("gpencil.stroke_separate_merge", text="Separate & Merge") | ||||
| # TODO: add new RIP operator | # TODO: add new RIP operator | ||||
| layout.separator() | layout.separator() | ||||
| layout.menu("VIEW3D_MT_gpencil_vertex_group") | layout.menu("VIEW3D_MT_gpencil_vertex_group") | ||||
| ▲ Show 20 Lines • Show All 2,014 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.operator("gpencil.duplicate_move", text="Duplicate") | col.operator("gpencil.duplicate_move", text="Duplicate") | ||||
| col.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | col.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | ||||
| col.operator("gpencil.paste", text="Paste", icon='PASTEDOWN').type = 'ACTIVE' | col.operator("gpencil.paste", text="Paste", icon='PASTEDOWN').type = 'ACTIVE' | ||||
| col.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' | col.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' | ||||
| col.separator() | col.separator() | ||||
| # Removal Operators | # Removal Operators | ||||
| col.operator("gpencil.stroke_merge", text="Merge") | col.operator("gpencil.stroke_separate_merge", text="Separate & Merge") | ||||
| col.operator("gpencil.stroke_merge_by_distance").use_unselected = False | col.operator("gpencil.stroke_merge_by_distance").use_unselected = False | ||||
| col.operator("gpencil.stroke_split", text="Split") | col.operator("gpencil.stroke_split", text="Split") | ||||
| col.operator("gpencil.stroke_separate", text="Separate").mode = 'POINT' | col.operator("gpencil.stroke_separate", text="Separate").mode = 'POINT' | ||||
| col.separator() | col.separator() | ||||
| col.operator("gpencil.delete", text="Delete").type = 'POINTS' | col.operator("gpencil.delete", text="Delete").type = 'POINTS' | ||||
| col.operator("gpencil.dissolve", text="Dissolve").type = 'POINTS' | col.operator("gpencil.dissolve", text="Dissolve").type = 'POINTS' | ||||
| ▲ Show 20 Lines • Show All 633 Lines • Show Last 20 Lines | |||||