From 654fb090b2afbb7190dcfb4b6c0f340f8d32b27d Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Tue, 12 Mar 2013 13:36:02 +0000
Subject: [PATCH] normalize the absolute path

---
 io_scene_vrml2/export_vrml2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_scene_vrml2/export_vrml2.py b/io_scene_vrml2/export_vrml2.py
index 50230bc2e..03deeb2ab 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)
 
-- 
GitLab