Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_dopesheet.py
| Show First 20 Lines • Show All 469 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.operator("action.paste", text="Paste Flipped").flipped = True | layout.operator("action.paste", text="Paste Flipped").flipped = True | ||||
| layout.operator("action.duplicate_move") | layout.operator("action.duplicate_move") | ||||
| layout.operator("action.delete") | layout.operator("action.delete") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator_menu_enum("action.keyframe_type", "type", text="Keyframe Type") | layout.operator_menu_enum("action.keyframe_type", "type", text="Keyframe Type") | ||||
| layout.operator_menu_enum("action.handle_type", "type", text="Handle Type") | layout.operator_menu_enum("action.handle_type", "type", text="Handle Type") | ||||
| layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode") | layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode") | ||||
| layout.operator_menu_enum("action.easing_type", "type", text="Easing Mode") | |||||
| layout.separator() | layout.separator() | ||||
| layout.operator("action.clean").channels = False | layout.operator("action.clean").channels = False | ||||
| layout.operator("action.clean", text="Clean Channels").channels = True | layout.operator("action.clean", text="Clean Channels").channels = True | ||||
| layout.operator("action.sample") | layout.operator("action.sample") | ||||
| class DOPESHEET_MT_key_transform(Menu): | class DOPESHEET_MT_key_transform(Menu): | ||||
| ▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | def draw(self, _context): | ||||
| layout.operator("action.paste", text="Paste", icon='PASTEDOWN') | layout.operator("action.paste", text="Paste", icon='PASTEDOWN') | ||||
| layout.operator("action.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True | layout.operator("action.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator_menu_enum("action.keyframe_type", "type", text="Keyframe Type") | layout.operator_menu_enum("action.keyframe_type", "type", text="Keyframe Type") | ||||
| layout.operator_menu_enum("action.handle_type", "type", text="Handle Type") | layout.operator_menu_enum("action.handle_type", "type", text="Handle Type") | ||||
| layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode") | layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode") | ||||
| layout.operator_menu_enum("action.easing_type", "type", text="Easing Mode") | |||||
| layout.separator() | layout.separator() | ||||
| layout.operator("action.keyframe_insert").type = 'SEL' | layout.operator("action.keyframe_insert").type = 'SEL' | ||||
| layout.operator("action.duplicate_move") | layout.operator("action.duplicate_move") | ||||
| layout.operator_context = 'EXEC_REGION_WIN' | layout.operator_context = 'EXEC_REGION_WIN' | ||||
| layout.operator("action.delete") | layout.operator("action.delete") | ||||
| ▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines | |||||