Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'oscurart_tools/oscurart_files.py')
-rw-r--r--oscurart_tools/oscurart_files.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py
index 3a507c33..57583e55 100644
--- a/oscurart_tools/oscurart_files.py
+++ b/oscurart_tools/oscurart_files.py
@@ -125,7 +125,7 @@ class collectImagesOsc(Operator):
for image in bpy.data.images:
try:
image.update()
-
+
if image.has_data:
if not os.path.exists(os.path.join(imagespath,os.path.basename(image.filepath))):
shutil.copy(image.filepath, os.path.join(imagespath,os.path.basename(image.filepath)))
@@ -133,9 +133,9 @@ class collectImagesOsc(Operator):
else:
print("%s exists." % (image.name))
else:
- print("%s missing path." % (image.name))
+ print("%s missing path." % (image.name))
except:
- print("%s missing path." % (image.name))
+ print("%s missing path." % (image.name))
bpy.ops.file.make_paths_relative()