Skip to content

Commit

Permalink
Fix ignored transform in phys bone not being marked as moving.
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkc0d3r committed Nov 6, 2023
1 parent f7737e1 commit 85f1602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v3.2.2
### Bug Fixes
* Fix phys bone dependency check only checking the moved transforms and not all children. [(more)](https://github.com/d4rkc0d3r/d4rkAvatarOptimizer/issues/61)
* Fix ignored transform in phys bone not being marked as moving despite it being possible thanks to stretch & squish.

## v3.2.1
### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion Editor/d4rkAvatarOptimizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2314,9 +2314,9 @@ private HashSet<Transform> FindAllMovingTransforms()
while (stack.Count > 0)
{
var current = stack.Pop();
transforms.Add(current);
if (exclusions.Contains(current))
continue;
transforms.Add(current);
foreach (Transform child in current)
{
stack.Push(child);
Expand Down

0 comments on commit 85f1602

Please sign in to comment.