diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index d67ceacd3de..5905e0b37e4 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -431,7 +431,7 @@ class DOPESHEET_MT_marker(Menu): class DOPESHEET_MT_channel(Menu): bl_label = "Channel" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator_context = 'INVOKE_REGION_CHANNELS' @@ -465,7 +465,7 @@ class DOPESHEET_MT_channel(Menu): class DOPESHEET_MT_key(Menu): bl_label = "Key" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.menu("DOPESHEET_MT_key_transform", text="Transform") @@ -500,7 +500,7 @@ class DOPESHEET_MT_key(Menu): class DOPESHEET_MT_key_transform(Menu): bl_label = "Transform" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("transform.transform", text="Move").mode = 'TIME_TRANSLATE' @@ -515,7 +515,7 @@ class DOPESHEET_MT_key_transform(Menu): class DOPESHEET_MT_gpencil_channel(Menu): bl_label = "Channel" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator_context = 'INVOKE_REGION_CHANNELS' @@ -542,7 +542,7 @@ class DOPESHEET_MT_gpencil_channel(Menu): class DOPESHEET_MT_gpencil_frame(Menu): bl_label = "Frame" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.menu("DOPESHEET_MT_key_transform", text="Transform") @@ -564,7 +564,7 @@ class DOPESHEET_MT_gpencil_frame(Menu): class DOPESHEET_MT_delete(Menu): bl_label = "Delete" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("action.delete") @@ -578,7 +578,7 @@ class DOPESHEET_MT_delete(Menu): class DOPESHEET_MT_context_menu(Menu): bl_label = "Dope Sheet Context Menu" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("action.copy", text="Copy") @@ -606,7 +606,7 @@ class DOPESHEET_MT_context_menu(Menu): class DOPESHEET_MT_channel_context_menu(Menu): bl_label = "Dope Sheet Channel Context Menu" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("anim.channels_setting_enable", text="Mute Channels").type = 'MUTE' @@ -638,7 +638,7 @@ class DOPESHEET_MT_channel_context_menu(Menu): class DOPESHEET_MT_snap_pie(Menu): bl_label = "Snap" - def draw(self, context): + def draw(self, _context): layout = self.layout pie = layout.menu_pie() |