Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Context not available. | |||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.active_frames_delete_all") | layout.operator("gpencil.delete", text="Delete Active Keyframe (Active Layer)").type = 'FRAME' | ||||
| layout.operator("gpencil.active_frames_delete_all", text="Delete Active Keyframes (All Layers)") | |||||
| # Edit Curve | # Edit Curve | ||||
| # draw_curve is used by VIEW3D_MT_edit_curve and VIEW3D_MT_edit_surface | # draw_curve is used by VIEW3D_MT_edit_curve and VIEW3D_MT_edit_surface | ||||
| Context not available. | |||||
| def draw(self, _context): | def draw(self, _context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.operator("gpencil.blank_frame_add") | layout.operator("gpencil.blank_frame_add", text="Insert Blank Keyframe (Active Layer)") | ||||
| layout.operator("gpencil.blank_frame_add", text="Insert Blank Keyframe (All Layers)").all_layers = True | |||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame") | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Keyframe (Active Layer)") | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate All Layers").mode = 'ALL' | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Keyframe (All Layers)").mode = 'ALL' | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.delete", text="Delete Active Frame").type = 'FRAME' | layout.operator("gpencil.delete", text="Delete Active Keyframe (Active Layer)").type = 'FRAME' | ||||
| layout.operator("gpencil.active_frames_delete_all", text="Delete All Active Frames") | layout.operator("gpencil.active_frames_delete_all", text="Delete Active Keyframes (All Layers)") | ||||
| class VIEW3D_MT_edit_gpencil_transform(Menu): | class VIEW3D_MT_edit_gpencil_transform(Menu): | ||||
| Context not available. | |||||
| layout.operator("transform.transform", text="Shrink Fatten").mode = 'GPENCIL_SHRINKFATTEN' | layout.operator("transform.transform", text="Shrink Fatten").mode = 'GPENCIL_SHRINKFATTEN' | ||||
| layout.operator("gpencil.interpolate", text="Interpolate") | |||||
| layout.operator("gpencil.interpolate_sequence", text="Sequence") | |||||
| class VIEW3D_MT_edit_gpencil_showhide(Menu): | class VIEW3D_MT_edit_gpencil_showhide(Menu): | ||||
| bl_label = "Show/hide" | bl_label = "Show/hide" | ||||
| Context not available. | |||||
| layout.operator_context = 'INVOKE_REGION_WIN' | layout.operator_context = 'INVOKE_REGION_WIN' | ||||
| layout.operator("gpencil.blank_frame_add", text="Insert Blank", icon='ADD') | layout.operator("gpencil.blank_frame_add", text="Insert Blank", icon='ADD') | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate Active", icon='DUPLICATE') | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Layer", icon='DUPLICATE') | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate for All Layers", icon='DUPLICATE').mode = 'ALL' | layout.operator("gpencil.frame_duplicate", text="Duplicate All Layers", icon='DUPLICATE').mode = 'ALL' | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.delete", text="Delete Active", icon='REMOVE').type = 'FRAME' | layout.operator("gpencil.delete", text="Delete Active Layer", icon='REMOVE').type = 'FRAME' | ||||
| layout.operator("gpencil.active_frames_delete_all", text="Delete All Active Layers", icon='REMOVE') | layout.operator("gpencil.active_frames_delete_all", text="Delete All Layers", icon='REMOVE') | ||||
| class VIEW3D_PT_gpencil_draw_context_menu(Panel): | class VIEW3D_PT_gpencil_draw_context_menu(Panel): | ||||
| Context not available. | |||||
| layout.operator_context = 'INVOKE_REGION_WIN' | layout.operator_context = 'INVOKE_REGION_WIN' | ||||
| layout.operator("gpencil.blank_frame_add", text="Insert Blank", icon='ADD') | layout.operator("gpencil.blank_frame_add", text="Insert Blank", icon='ADD') | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate Active", icon='DUPLICATE') | layout.operator("gpencil.frame_duplicate", text="Duplicate Active Layer", icon='DUPLICATE') | ||||
| layout.operator("gpencil.frame_duplicate", text="Duplicate for All Layers", icon='DUPLICATE').mode = 'ALL' | layout.operator("gpencil.frame_duplicate", text="Duplicate All Layers", icon='DUPLICATE').mode = 'ALL' | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("gpencil.delete", text="Delete Active", icon='REMOVE').type = 'FRAME' | layout.operator("gpencil.delete", text="Delete Active Layer", icon='REMOVE').type = 'FRAME' | ||||
| layout.operator("gpencil.active_frames_delete_all", text="Delete All Active Layers", icon='REMOVE') | layout.operator("gpencil.active_frames_delete_all", text="Delete All Layers", icon='REMOVE') | ||||
| class VIEW3D_PT_paint_vertex_context_menu(Panel): | class VIEW3D_PT_paint_vertex_context_menu(Panel): | ||||
| Context not available. | |||||