Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/scripts/vrml97_export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/vrml97_export.py b/release/scripts/vrml97_export.py
index 968b081c10a..41201d45315 100644
--- a/release/scripts/vrml97_export.py
+++ b/release/scripts/vrml97_export.py
@@ -648,7 +648,7 @@ class VRML2Export:
return
else:
self.writeIndented("texture DEF %s ImageTexture {\n" % self.cleanStr(name), 1)
- self.writeIndented("url \"%s\"\n" % filename.split("\\")[-1].split("/")[-1])
+ self.writeIndented("url \"%s\"\n" % name.split("\\")[-1].split("/")[-1])
self.writeIndented("}\n",-1)
self.texNames[name] = 1