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>2013-03-12 17:36:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-12 17:36:02 +0400
commit654fb090b2afbb7190dcfb4b6c0f340f8d32b27d (patch)
tree5c6dca5909d7084c0507ba4bbbeba8f0c9cd7b97 /io_scene_vrml2
parent7658df0733d75fa96a3838b53ff60c9a0d29c5bd (diff)
normalize the absolute path
Diffstat (limited to 'io_scene_vrml2')
-rw-r--r--io_scene_vrml2/export_vrml2.py2
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)