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:
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)