diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_clip.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 28a6a61ab07..59e74f96862 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -29,8 +29,8 @@ from .properties_grease_pencil_common import ( class CLIP_UL_tracking_objects(UIList): - def draw_item(self, context, layout, data, item, icon, - active_data, active_propname, index): + def draw_item(self, _context, layout, _data, item, _icon, + _active_data, _active_propname, _index): # assert(isinstance(item, bpy.types.MovieTrackingObject) tobj = item if self.layout_type in {'DEFAULT', 'COMPACT'}: @@ -364,7 +364,7 @@ class CLIP_PT_tools_clip(Panel): return clip and sc.view == 'CLIP' and sc.mode != 'MASK' - def draw(self, context): + def draw(self, _context): layout = self.layout col = layout.column(align=True) @@ -380,7 +380,7 @@ class CLIP_PT_tools_marker(CLIP_PT_tracking_panel, Panel): bl_label = "Marker" bl_category = "Track" - def draw(self, context): + def draw(self, _context): layout = self.layout col = layout.column(align=True) @@ -396,7 +396,7 @@ class CLIP_PT_tracking_settings(CLIP_PT_tracking_panel, Panel): bl_label = "Tracking Settings" bl_category = "Track" - def draw_header_preset(self, context): + def draw_header_preset(self, _context): CLIP_PT_tracking_settings_presets.draw_panel_header(self.layout) def draw(self, context): @@ -467,7 +467,7 @@ class CLIP_PT_tools_tracking(CLIP_PT_tracking_panel, Panel): bl_category = "Track" bl_options = {'DEFAULT_CLOSED'} - def draw(self, context): + def draw(self, _context): layout = self.layout row = layout.row(align=True) @@ -522,7 +522,7 @@ class CLIP_PT_tools_plane_tracking(CLIP_PT_tracking_panel, Panel): bl_options = {'DEFAULT_CLOSED'} bl_category = "Solve" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.create_plane_track") @@ -598,7 +598,7 @@ class CLIP_PT_tools_geometry(CLIP_PT_tracking_panel, Panel): bl_options = {'DEFAULT_CLOSED'} bl_category = "Solve" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.bundles_to_mesh") @@ -862,7 +862,7 @@ class CLIP_PT_tracking_camera(Panel): return False - def draw_header_preset(self, context): + def draw_header_preset(self, _context): CLIP_PT_camera_presets.draw_panel_header(self.layout) def draw(self, context): @@ -1198,7 +1198,7 @@ class CLIP_PT_tools_scenesetup(Panel): return clip and sc.view == 'CLIP' and sc.mode != 'MASK' - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.set_viewport_background") @@ -1292,7 +1292,7 @@ class CLIP_MT_clip(Menu): class CLIP_MT_proxy(Menu): bl_label = "Proxy" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.rebuild_proxy") @@ -1302,7 +1302,7 @@ class CLIP_MT_proxy(Menu): class CLIP_MT_track(Menu): bl_label = "Track" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.clear_solution") @@ -1363,7 +1363,7 @@ class CLIP_MT_track(Menu): class CLIP_MT_reconstruction(Menu): bl_label = "Reconstruction" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.set_origin") @@ -1384,7 +1384,7 @@ class CLIP_MT_reconstruction(Menu): class CLIP_MT_track_visibility(Menu): bl_label = "Show/Hide" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.hide_tracks_clear") @@ -1395,7 +1395,7 @@ class CLIP_MT_track_visibility(Menu): class CLIP_MT_track_transform(Menu): bl_label = "Transform" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("transform.translate") @@ -1405,7 +1405,7 @@ class CLIP_MT_track_transform(Menu): class CLIP_MT_select(Menu): bl_label = "Select" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.select_box") @@ -1424,7 +1424,7 @@ class CLIP_MT_select(Menu): class CLIP_MT_select_grouped(Menu): bl_label = "Select Grouped" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator_enum("clip.select_grouped", "group") @@ -1437,7 +1437,7 @@ class CLIP_MT_tracking_context_menu(Menu): def poll(cls, context): return context.space_data.clip - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.disable_markers", @@ -1487,7 +1487,7 @@ class CLIP_PT_tracking_settings_presets(PresetPanel, Panel): class CLIP_MT_stabilize_2d_context_menu(Menu): bl_label = "Translation Track Specials" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.stabilize_2d_select") @@ -1496,7 +1496,7 @@ class CLIP_MT_stabilize_2d_context_menu(Menu): class CLIP_MT_stabilize_2d_rotation_context_menu(Menu): bl_label = "Rotation Track Specials" - def draw(self, context): + def draw(self, _context): layout = self.layout layout.operator("clip.stabilize_2d_rotation_select") |