Fix T93408: Snap performance regression at high poll rate
Caused by {rBfba9cd019f21f29bad1a6f3713370c5172dbc97f}. The snap timer was accidentally modified and damaged.
This commit is contained in:
parent
e2a9e7e803
commit
586e2face6
Notes:
blender-bot
2023-02-14 09:34:18 +01:00
Referenced by issue #93479, 3.0 Potential candidates for corrective releases Referenced by issue #93408, Snap performance regression at high poll rate
|
@ -505,9 +505,9 @@ void applySnapping(TransInfo *t, float *vec)
|
|||
if (t->tsnap.targetSnap) {
|
||||
t->tsnap.targetSnap(t);
|
||||
}
|
||||
}
|
||||
|
||||
t->tsnap.last = current;
|
||||
t->tsnap.last = current;
|
||||
}
|
||||
|
||||
if (validSnap(t)) {
|
||||
t->tsnap.applySnap(t, vec);
|
||||
|
|
Loading…
Reference in New Issue