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:
Diffstat (limited to 'release')
-rw-r--r--release/scripts/flt_export.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/flt_export.py b/release/scripts/flt_export.py
index d2e90bc27b8..033a03f1163 100644
--- a/release/scripts/flt_export.py
+++ b/release/scripts/flt_export.py
@@ -1352,7 +1352,8 @@ def dbexport():
#Get original Blender file name
origpath = Blender.sys.expandpath(Blender.Image.Get(imgname).getFilename())
#copy original to new
- shutil.copyfile(origpath,tex_files[imgname])
+ if os.path.exists(origpath):
+ shutil.copyfile(origpath,tex_files[imgname])
#optional: Write attribute files
if options.write_attrib_files: