Fix snapping with constraint flickering
Flickering observed when snapping to edge or face with axis constraint.
It was probably introduced in 4eda60c2d8
The snapping code has a timer, so `t->tsnap.snapElem` isn't always set.
So avoid changing the value of `t->tsnap.snapElem`.
This commit is contained in:
committed by
Germano Cavalcante
parent
730b11034f
commit
93d464dcd1
@@ -609,7 +609,6 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2]))
|
||||
add_v3_v3(global_dir, values_ofs);
|
||||
}
|
||||
|
||||
t->tsnap.snapElem = SCE_SNAP_MODE_NONE;
|
||||
transform_snap_mixed_apply(t, global_dir);
|
||||
translate_snap_grid(t, global_dir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user