diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 02:15:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 05:42:05 +0300 |
commit | fc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (patch) | |
tree | 36f1e64753753f43ee95bc3da126beb955469e85 /release/scripts/startup/bl_operators/clip.py | |
parent | bc39fa947a821f1114fb5594dcd22958f7958df9 (diff) |
Cleanup: unused args/vars/imports in bl_operators
Diffstat (limited to 'release/scripts/startup/bl_operators/clip.py')
-rw-r--r-- | release/scripts/startup/bl_operators/clip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py index 87c103ea150..664684cce6d 100644 --- a/release/scripts/startup/bl_operators/clip.py +++ b/release/scripts/startup/bl_operators/clip.py @@ -906,7 +906,7 @@ class CLIP_OT_setup_tracking_scene(Operator): return None @staticmethod - def _createLight(scene): + def _createLight(): light = bpy.data.lights.new(name="Light", type='POINT') lightob = bpy.data.objects.new(name="Light", object_data=light) @@ -951,7 +951,7 @@ class CLIP_OT_setup_tracking_scene(Operator): # Create sample light if there is no lights in the scene. if not has_light: - light = self._createLight(scene) + light = self._createLight() fg_coll.objects.link(light) bg_coll.objects.link(light) |