Blender Git Commit Log

Git Commits -> Revision de6b4dc

Revision de6b4dc by Bastien Montagne (master)
July 7, 2015, 17:29 (GMT)
Fix/Cleanup mesh remap dest transformation in tree/source space.

In org work, bvhtree helpers were modifying passed co/no in place according to given transform.

However, during review pass we decided this was bad, and made them modify copies. But this broke
some cases where we'd do extra tests after bvhtree query, expecting tmp_co to be in tree (aka source) space!

Further more, since in quite a few cases we were already doing that transform outside of bvhtree helpers,
decided to remove this alltogether from the helpers - makes things more clear and easy to follow,
avoids needless copy of vector, and ensures we are always using tmp_co in its transformed version!

Commit Details:

Full Hash: de6b4dc7f7f5e78ebfefdfe804218a69631d778e
Parent Commit: 30b7aaf
Lines Changed: +85, -83

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019