diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 03:06:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 03:06:49 +0400 |
commit | 7d0be95ac3d6289423cd1cc98b72163bd5b02a38 (patch) | |
tree | 29dd7e346fd184012b577bebb3a6f7fae56ac422 /io_scene_x3d/export_x3d.py | |
parent | eae792d174fb48814f42fd5eb16258ad60c25e23 (diff) |
fix for x3d import of lists of images and alpha support.
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index 477e6c2b..d40c4dde 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -1308,7 +1308,7 @@ def export(file, images = [f.replace('\\', '/') for f in images] images = [f for i, f in enumerate(images) if f not in images[:i]] - fw(ident_step + "url='%s' " % ' '.join(['"%s"' % escape(f) for f in images])) + fw(ident_step + "url='%s'\n" % ' '.join(['"%s"' % escape(f) for f in images])) fw(ident_step + '/>\n') def writeBackground(ident, world): |