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:26:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-23 01:26:47 +0300
commit64a691202970905f78c54e3aaa820377ad4d5b74 (patch)
treeb31c61c8cea67c9d5b40d3fba8691c433523ce2c
parentdaf500661e0f886f1efc5f6e7f20a28ef6787234 (diff)
X3D: use vrml name for point lamps
-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 8c39fccf..75ca612a 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -3143,7 +3143,7 @@ def importLamp_PointLight(node, ancestry):
# is_on = node.getFieldAsBool('on', True, ancestry) # TODO
radius = node.getFieldAsFloat('radius', 100.0, ancestry)
- bpylamp = bpy.data.lamps.new("ToDo", 'POINT')
+ bpylamp = bpy.data.lamps.new(vrmlname, 'POINT')
bpylamp.energy = intensity
bpylamp.distance = radius
bpylamp.color = color