Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-06 20:59:17 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-06 20:59:17 +0300
commit6aa8e130eff59059886e203ff95221609f63b222 (patch)
treefe478c4920c5b2f602349eb2c216d2b653b5176b /light_field_tools
parent7216192171a35c56523f9abcb279eb8a0a33577b (diff)
Update for renaming lamp to light.
Diffstat (limited to 'light_field_tools')
-rw-r--r--light_field_tools/light_field_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/light_field_tools/light_field_tools.py b/light_field_tools/light_field_tools.py
index b4693d52..f6d57c29 100644
--- a/light_field_tools/light_field_tools.py
+++ b/light_field_tools/light_field_tools.py
@@ -228,7 +228,7 @@ class OBJECT_OT_create_lightfield_rig(Operator):
def createSpot(self, index, textured=False):
scene = bpy.context.scene
- bpy.ops.object.lamp_add(
+ bpy.ops.object.light_add(
type='SPOT')
spot = bpy.context.active_object