[Bf-extensions-cvs] [9b3b0e4] master: Missed last commit

Campbell Barton noreply at git.blender.org
Sun Nov 22 23:49:12 CET 2015


Commit: 9b3b0e427860f5683aacbe0491a67d6389d41809
Author: Campbell Barton
Date:   Mon Nov 23 09:42:47 2015 +1100
Branches: master
https://developer.blender.org/rBA9b3b0e427860f5683aacbe0491a67d6389d41809

Missed last commit

===================================================================

M	io_scene_x3d/import_x3d.py

===================================================================

diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 75ca612..22f7ee4 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)



More information about the Bf-extensions-cvs mailing list