Temporary work around for [#20768] Project Snap Broken
Don't snap to editmesh when project is on (that means you can't retopo to the same mesh). Again, that's a temporary work around.
This commit is contained in:
@@ -379,7 +379,7 @@ void initSnappingMode(TransInfo *t)
|
||||
if (t->tsnap.applySnap != NULL && // A snapping function actually exist
|
||||
(obedit != NULL && ELEM3(obedit->type, OB_MESH, OB_ARMATURE, OB_CURVE)) ) // Temporary limited to edit mode meshes, armature, curves
|
||||
{
|
||||
if (t->flag & T_PROP_EDIT)
|
||||
if ((t->flag & T_PROP_EDIT) || t->tsnap.project) /* also exclude edit for project, for now */
|
||||
{
|
||||
t->tsnap.modeSelect = SNAP_NOT_OBEDIT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user