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:
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-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)