torrinworx / Blend_My_NFTs

Easily generate thousands of 3D models, images, and animation automatically in Blender for free with Blend_My_NFTs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collections within variants throws difficult to interpret error

baxelson12 opened this issue · comments

commented

Hi, greatly appreciate the hard work placed into this package! Today, I stumbled upon an issue where having collections within a given variant throws an error complaining about the list index ( list index out of range ). You can see the following image of the structure for reference:
image

It appears to be a recursion issue - I believe the following link contains the logic for determining the project heirarchy.

def traverse_tree(t):

Looks like it needs a stop condition once it finds a variant so it doesn't go deeper. The alternative solution could be checking the variants and throwing a more descriptive error that this isn't allowed, or adding this req to the docs.

Please let me know if you need anything else! My python is a bit rusty, but I may be able to submit a PR in my free time if necessary.

Regards,
Brad

commented