Blender Git Commit Log

Git Commits -> Revision b154aa8

Revision b154aa8 by Bastien Montagne (master)
October 31, 2014, 10:12 (GMT)
Fix T42447: Shrinkwrap constraint: mismatch in handling sclaing in projection case.

Constraint space conversion ignores object scale, which is OK in most cases. But here,
we are converting a normal from world to local space, and when later converting it
into target space to actually do the BVH raycast, we use TransformSpace which
does applies objects' scaling to normals, as expected.

Best solution here is to also take object's scale into account when converting
from local to world space.

Commit Details:

Full Hash: b154aa8c060a60d476970bb8b8fab3912a2afc22
Parent Commit: 5e6d878
Lines Changed: +10, -4

1 Modified Path:

/source/blender/blenkernel/intern/constraint.c (+10, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021