Fix #107924: Scale limit respect negative values #107937

Open
YimingWu wants to merge 3 commits from ChengduLittleA/blender:limit_scale_fix into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

3 Commits

Author SHA1 Message Date
a9f65464d8 Versioning for size limit constraint 2023-07-04 13:48:18 +08:00
778fe2774e Use is_negative_m4 for negative scale check 2023-07-04 13:47:29 +08:00
32944e9927 Fix #107924: Scale limit respect negative values.
`mat4_to_size` doesn't give negative sizes even if the object has, this
creates a problem where scale constraint could allow flipped scaling
even it's outside the limit. This fix makes sure that object scaling
respect constraint limit no matter if it's negative or positive.
2023-07-04 13:47:29 +08:00