Fix #107185: Set position node skips setting rest positions #107188

Closed
Hans Goudey wants to merge 1 commits from HooglyBoogly:fix-set-position-optimization into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Hans Goudey 8fe9c40a07 Fix #107185: Set position node skips setting rest positions
Now attributes can use the same arrays, checking their data pointers
isn't enough to tell them apart. After e45ed69349, the rest
position attribute is created sharing the same array as positions,
which meant the optimization to skip reading the position input to
the set position node failed. Fix that by checking if the field is the
position attribute instead.
2023-04-20 13:11:04 -04:00