From 48d37aced7e51fb720f2329207bfdd4cac1cc25e Mon Sep 17 00:00:00 2001
From: Eugenio Pignataro <info@oscurart.com.ar>
Date: Mon, 3 Apr 2017 11:40:17 -0300
Subject: [PATCH] Bugfix Collect

---
 oscurart_tools/oscurart_files.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py
index f22c833f8..355a5e3d6 100644
--- a/oscurart_tools/oscurart_files.py
+++ b/oscurart_tools/oscurart_files.py
@@ -127,10 +127,8 @@ 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:
-                os.remove(os.path.join(imagespath,os.path.basename(image.filepath)))    
-                shutil.copy(image.filepath, os.path.join(imagespath,os.path.basename(image.filepath)))
-                image.filepath = os.path.join(imagespath,os.path.basename(image.filepath))
+		print("%s exists." % (image))
                 
         bpy.ops.file.make_paths_relative()                
                 
-        return {'FINISHED'}
\ No newline at end of file
+        return {'FINISHED'}
-- 
GitLab