Fix T55325: Revert "Always get a reference point when snapping with the projected elements option enabled."

This reverts commit 0864a4c1ea.

That way it's best for retopology.
This commit is contained in:
Germano Cavalcante 2018-06-04 13:33:19 -03:00
parent 84becb870f
commit c8af234f85
Notes: blender-bot 2023-06-21 19:23:24 +02:00
Referenced by issue #55325, Closest snapping bug
1 changed files with 5 additions and 0 deletions

View File

@ -406,6 +406,11 @@ void applyGridAbsolute(TransInfo *t)
void applySnapping(TransInfo *t, float *vec)
{
if (t->tsnap.project && t->tsnap.mode == SCE_SNAP_MODE_FACE) {
/* Each Trans Data already makes the snap to face */
return;
}
if (t->tsnap.status & SNAP_FORCED) {
t->tsnap.targetSnap(t);