diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-23 01:26:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-23 01:26:47 +0300 |
commit | 64a691202970905f78c54e3aaa820377ad4d5b74 (patch) | |
tree | b31c61c8cea67c9d5b40d3fba8691c433523ce2c /io_scene_x3d/import_x3d.py | |
parent | daf500661e0f886f1efc5f6e7f20a28ef6787234 (diff) |
X3D: use vrml name for point lamps
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 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 |