forked from bartvdbraak/blender
Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode
There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(
This commit is contained in:
parent
4f1cdb3e42
commit
a058ac9c50
@ -1463,8 +1463,12 @@ void vec_roll_to_mat3(const float vec[3], const float roll, float mat[][3])
|
||||
*
|
||||
* was 0.000001, causes bug [#30438] (which is same as [#27675, imho).
|
||||
* Reseting it to org value seems to cause no more [#23954]...
|
||||
*
|
||||
* was 0.0000000000001, caused bug [#], smaller values give unstable
|
||||
* roll when toggling editmode again...
|
||||
* No good value here, trying 0.000000001 as best compromize. :/
|
||||
*/
|
||||
if (dot_v3v3(axis, axis) > 1.0e-13f) {
|
||||
if (dot_v3v3(axis, axis) > 1.0e-9f) {
|
||||
/* if nor is *not* a multiple of target ... */
|
||||
normalize_v3(axis);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user