[Bf-extensions-cvs] [a1515dd] master: Discard overwrite
Eugenio Pignataro
noreply at git.blender.org
Mon Apr 3 16:45:42 CEST 2017
Commit: a1515dddab595cb3d3e1cefa6e52afce224e06e7
Author: Eugenio Pignataro
Date: Mon Apr 3 11:45:33 2017 -0300
Branches: master
https://developer.blender.org/rBAa1515dddab595cb3d3e1cefa6e52afce224e06e7
Discard overwrite
===================================================================
M oscurart_tools/oscurart_files.py
===================================================================
diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py
index 355a5e3..0d2eceb 100644
--- a/oscurart_tools/oscurart_files.py
+++ b/oscurart_tools/oscurart_files.py
@@ -127,7 +127,7 @@ class collectImagesOsc(Operator):
shutil.copy(image.filepath, os.path.join(imagespath,os.path.basename(image.filepath)))
image.filepath = os.path.join(imagespath,os.path.basename(image.filepath))
else:
- print("%s exists." % (image))
+ print("%s exists." % (image.name))
bpy.ops.file.make_paths_relative()
More information about the Bf-extensions-cvs
mailing list