Cleanup: unused args/vars/imports in bl_operators
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user