diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-12 17:36:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-12 17:36:02 +0400 |
commit | 654fb090b2afbb7190dcfb4b6c0f340f8d32b27d (patch) | |
tree | 5c6dca5909d7084c0507ba4bbbeba8f0c9cd7b97 | |
parent | 7658df0733d75fa96a3838b53ff60c9a0d29c5bd (diff) |
normalize the absolute path
-rw-r--r-- | io_scene_vrml2/export_vrml2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_vrml2/export_vrml2.py b/io_scene_vrml2/export_vrml2.py index 50230bc2..03deeb2a 100644 --- a/io_scene_vrml2/export_vrml2.py +++ b/io_scene_vrml2/export_vrml2.py @@ -36,7 +36,7 @@ def save_bmesh(fw, bm, if use_uv: fw('\t\ttexture ImageTexture {\n') filepath = uv_image.filepath - filepath_full = bpy.path.abspath(filepath, library=uv_image.library) + filepath_full = os.path.normpath(bpy.path.abspath(filepath, library=uv_image.library)) filepath_ref = bpy_extras.io_utils.path_reference(filepath_full, base_src, base_dst, path_mode, "textures", copy_set, uv_image.library) filepath_base = os.path.basename(filepath_full) |