renamed bpy.sys to bpy.utils, since it used to be a attempt to replace pythons sys which is bundled now

This commit is contained in:
Campbell Barton
2009-11-03 18:08:25 +00:00
parent e4f90d9379
commit 6680dcd24a
5 changed files with 15 additions and 15 deletions

View File

@@ -223,11 +223,11 @@ def copy_images(dest_dir):
copyCount = 0
# for bImage in uniqueImages.values():
# image_path = bpy.sys.expandpath(bImage.filename)
# image_path = bpy.utils.expandpath(bImage.filename)
# if bpy.sys.exists(image_path):
# # Make a name for the target path.
# dest_image_path = dest_dir + image_path.split('\\')[-1].split('/')[-1]
# if not bpy.sys.exists(dest_image_path): # Image isnt alredy there
# if not bpy.utils.exists(dest_image_path): # Image isnt alredy there
# print('\tCopying "%s" > "%s"' % (image_path, dest_image_path))
# copy_file(image_path, dest_image_path)
# copyCount+=1