kopia lustrzana https://github.com/torrinworx/Blend_My_NFTs
Merge pull request #10 from andrewgabler/main
Add debugging catch for phantom collectionspull/11/head^2
commit
d6ebf01c5c
|
@ -60,7 +60,6 @@ def returnData():
|
|||
return collList
|
||||
|
||||
ignoreList = listSubIgnoreCollections()
|
||||
print(ignoreList)
|
||||
for i in bpy.data.collections:
|
||||
if generateColors:
|
||||
if i.name in colorList:
|
||||
|
@ -199,7 +198,12 @@ def returnData():
|
|||
'''
|
||||
hierarchyByNum = []
|
||||
for i in hierarchy:
|
||||
hierarchyByNum.append(len(hierarchy[i]))
|
||||
# Ignore Collections with nothing in them
|
||||
if len(hierarchy[i]) != 0:
|
||||
hierarchyByNum.append(len(hierarchy[i]))
|
||||
else:
|
||||
print("The following collection has been identified as empty:")
|
||||
print(i)
|
||||
combinations = 1
|
||||
for i in hierarchyByNum:
|
||||
combinations = combinations*i
|
||||
|
|
Ładowanie…
Reference in New Issue