diff options
Diffstat (limited to 'release/scripts/flt_export.py')
-rw-r--r-- | release/scripts/flt_export.py | 3 |
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: |