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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user