Blender Git Commit Log

Git Commits -> Revision 61fe88a

Revision 61fe88a by Joshua Leung (master)
June 11, 2012, 05:05 (GMT)
Bugfix [#27886] Transform constraint maps wrongly with negative scale

AFAIK, it is impossible to determine exactly which axes may have negative
scaling values from a 4x4 matrix (which is the underlying cause of this bug).
However, we can figure out if there is some negative scaling going on in that
matrix (i.e. one of the axes has negative scale). So, the fix here is to
negatively scale everything if we detect this happening.

WARNING: do not rely on being able to accurately detecting positive/negative
values for more than a single axis per bone controller. Weird results may occur.
You have been warned.

Commit Details:

Full Hash: 61fe88aedc27759bcf8abcaa862dfb2cc9164081
SVN Revision: 47721
Parent Commit: 1022d0c
Lines Changed: +9, -0

1 Modified Path:

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