diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-23 01:42:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-23 01:42:47 +0300 |
commit | 9b3b0e427860f5683aacbe0491a67d6389d41809 (patch) | |
tree | 41b9bc0967274e13073bdae2278dd584d0cc25c7 /io_scene_x3d/import_x3d.py | |
parent | 64a691202970905f78c54e3aaa820377ad4d5b74 (diff) |
Missed last commit
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 2 |
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) |