Blender Git Loki

Git Commits -> Revision 88c5b14

Revision 88c5b14 by Campbell Barton (master)
November 5, 2012, 05:07 (GMT)
fix issue with shrinkwrap face projection distance comparisons when using both positive and negative projection.
- don't attempt to convert the 'dist' value between local/target space, since all the projections are done in target space
and dist isnt used afterwards. Also, this could fail with non uniform scale - overwriting ray casts with larger dist values.
- added an assert to check larger dist values never overwrite smaller ones.
- remove use of sasqrt() since the value is checked beforehand anyway.

Commit Details:

Full Hash: 88c5b1408cf30f643a207f5e759793fe2d7760fd
SVN Revision: 51881
Parent Commit: e894549
Lines Changed: +23, -3

1 Modified Path:

/source/blender/blenkernel/intern/shrinkwrap.c (+23, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021