diff options
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) |