mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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
6514e4c418
commit
b2e15cb19d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue