Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 4,454 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.menu("VIEW3D_MT_edit_gpencil_interpolate") | layout.menu("VIEW3D_MT_edit_gpencil_interpolate") | ||||
| layout.separator() | layout.separator() | ||||
| # Cut, Copy, Paste | # Cut, Copy, Paste | ||||
| layout.operator("gpencil.duplicate_move", text="Duplicate") | layout.operator("gpencil.duplicate_move", text="Duplicate") | ||||
| layout.operator("gpencil.stroke_split", text="Split") | layout.operator("gpencil.stroke_split", text="Split") | ||||
| layout.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | layout.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | ||||
| layout.operator("gpencil.paste", text="Paste", icon='PASTEDOWN').type = 'COPY' | layout.operator("gpencil.paste", text="Paste").type = 'ACTIVE' | ||||
| layout.operator("gpencil.paste", text="Paste & Merge").type = 'MERGE' | layout.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' | ||||
| layout.separator() | layout.separator() | ||||
| layout.menu("VIEW3D_MT_weight_gpencil") | layout.menu("VIEW3D_MT_weight_gpencil") | ||||
| layout.separator() | layout.separator() | ||||
| layout.menu("VIEW3D_MT_edit_gpencil_showhide") | layout.menu("VIEW3D_MT_edit_gpencil_showhide") | ||||
| ▲ Show 20 Lines • Show All 1,828 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes") | layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes") | ||||
| layout.operator("gpencil.stroke_flip", text="Flip Direction") | layout.operator("gpencil.stroke_flip", text="Flip Direction") | ||||
| layout.operator_menu_enum("gpencil.stroke_caps_set", text="Toggle Caps", property="type") | layout.operator_menu_enum("gpencil.stroke_caps_set", text="Toggle Caps", property="type") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.duplicate_move", text="Duplicate") | layout.operator("gpencil.duplicate_move", text="Duplicate") | ||||
| layout.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | layout.operator("gpencil.copy", text="Copy", icon='COPYDOWN') | ||||
| layout.operator("gpencil.paste", text="Paste", icon='PASTEDOWN').type = 'COPY' | layout.operator("gpencil.paste", text="Paste").type = 'ACTIVE' | ||||
| layout.operator("gpencil.paste", text="Paste & Merge").type = 'MERGE' | layout.operator("gpencil.paste", text="Paste by Layer").type = 'LAYER' | ||||
| layout.menu("VIEW3D_MT_gpencil_copy_layer") | layout.menu("VIEW3D_MT_gpencil_copy_layer") | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame") | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame") | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame All Layers").mode = 'ALL' | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame All Layers").mode = 'ALL' | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.stroke_join", text="Join").type = 'JOIN' | layout.operator("gpencil.stroke_join", text="Join").type = 'JOIN' | ||||
| layout.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY' | layout.operator("gpencil.stroke_join", text="Join & Copy").type = 'JOINCOPY' | ||||
| ▲ Show 20 Lines • Show All 409 Lines • Show Last 20 Lines | |||||