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:
authorCampbell Barton <ideasman42@gmail.com>2015-11-23 01:42:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-23 01:42:47 +0300
commit9b3b0e427860f5683aacbe0491a67d6389d41809 (patch)
tree41b9bc0967274e13073bdae2278dd584d0cc25c7
parent64a691202970905f78c54e3aaa820377ad4d5b74 (diff)
Missed last commit
-rw-r--r--io_scene_x3d/import_x3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 75ca612a..22f7ee47 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -3224,7 +3224,7 @@ def importLamp(bpyscene, node, spec, ancestry, global_matrix):
print("Error, not a lamp")
raise ValueError
- bpyob = node.blendData = node.blendObject = bpy.data.objects.new("TODO", bpylamp)
+ bpyob = node.blendData = node.blendObject = bpy.data.objects.new(bpylamp.name, bpylamp)
bpyscene.objects.link(bpyob).select = True
bpyob.matrix_world = getFinalMatrix(node, mtx, ancestry, global_matrix)