Bake-API: relaxing in the check for scale uniformity
authorDalai Felinto <dfelinto@gmail.com>
Fri, 23 May 2014 00:35:41 +0000 (21:35 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 23 May 2014 00:35:58 +0000 (21:35 -0300)
commit7f089afc8bc0b25007c072838944fcdc6106544c
tree81a6724ea3afc764957888bf8077cedf5c66f89c
parentdd96205d0aaae39e8d49cae2a0b4a63b34a8c39d
Bake-API: relaxing in the check for scale uniformity

It still warns the user that there may be an error, but the baking goes
on. Also using the new is_uniform_scaled_m4() instead of float comparison.

Reported and fix suggested by Campbell Barton as a concern over 2bfc3deb
source/blender/blenlib/BLI_math_matrix.h
source/blender/blenlib/intern/math_matrix.c
source/blender/editors/object/object_bake_api.c