new image names were being created with 2 ..'s

added a function to BPyMesh.py to get faces in linked groups (like split by loose parts) - but returns lists of faces only.
This commit is contained in:
2006-11-10 02:23:30 +00:00
parent 7c6ffecfff
commit daec99c470
2 changed files with 54 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ def makeUnique(path):
i= 1
while sys.exists(path):
path = '%s_%.3d.%s' % (orig_path_noext, i, ext)
path = '%s_%.3d%s' % (orig_path_noext, i, ext)
i+= 1
return path
@@ -72,6 +72,7 @@ def main():
continue
if not sys.exists(filename):
#continue # ignore missing images.
image_missing.append(name)