diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py index f22c833f8653cb47a01e8586854fc9ba35ec5585..355a5e3d63a7ce9b9c90ad61b01e74dffc14f3ff 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'}