Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2010-01-31 20:50:42 +0300
committerMartin Poirier <theeth@yahoo.com>2010-01-31 20:50:42 +0300
commit5cdec97dc51baffb47d8c06480727fba16588143 (patch)
treefb5d9d06c7ac8ac3222b05944851bfc39bae1d5e /source
parent8d513efdb0cfd787afa45dedf523b5558d78d20e (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform_snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index bae3c790684..c80a0929e18 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -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;
}