Fix_DynamicBones - Fix append particles recursion error #75
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/IllusionFixes!75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "FixAppendParticlesRecursionError"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The return I implemented yesterday would obviously also stop the for loop form adding multiple children like the vanilla code can.
Inspired by the game code, which made adding the leaf require the particle to not have any children, I added a flag so that it can only add a leaf when particle did not add any of its children as particles. This is more similar to game code but also retains the ability to add a leaf particle when all children are in m_Exclusions.
I'm sorry that we have to update this code again in such a short time but this forloop in a whileloop in a recursive method got the better of me.
prayge