Fix T39347: Pressing backspace during empty number input for translation results in 0.5828 increments
Interesting one, took me hours to understand the issue - a stupid typo checking the wrong value against the wrong flag (present since 2008!).
This commit is contained in:
parent
3bad243cb8
commit
fcaa018249
Notes:
blender-bot
2023-02-14 10:55:42 +01:00
Referenced by issue #39347, Pressing backspace during empty number input for translation results in 0.5828 increments
|
@ -137,7 +137,7 @@ static void postConstraintChecks(TransInfo *t, float vec[3], float pvec[3])
|
|||
|
||||
snapGridIncrement(t, vec);
|
||||
|
||||
if (t->num.flag & T_NULL_ONE) {
|
||||
if (t->flag & T_NULL_ONE) {
|
||||
if (!(t->con.mode & CON_AXIS0))
|
||||
vec[0] = 1.0f;
|
||||
|
||||
|
|
Loading…
Reference in New Issue