diff options
-rw-r--r-- | source/blender/src/transform_constraints.c | 2 | ||||
-rw-r--r-- | source/blender/src/transform_snap.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/transform_constraints.c b/source/blender/src/transform_constraints.c index 5397fbcc4e1..b1720295774 100644 --- a/source/blender/src/transform_constraints.c +++ b/source/blender/src/transform_constraints.c @@ -245,7 +245,7 @@ static void applyAxisConstraintVec(TransInfo *t, TransData *td, float in[3], flo Mat3MulVecfl(t->con.pmtx, out); // With snap, a projection is alright, no need to correct for view alignment - if (((t->tsnap.status & SNAP_ON) && (G.qual & LR_CTRLKEY)) == 0 ) { + if ((t->tsnap.status & SNAP_ON) == 0) { if (getConstraintSpaceDimension(t) == 2) { if (out[0] != 0.0f || out[1] != 0.0f || out[2] != 0.0f) { planeProjection(t, in, out); diff --git a/source/blender/src/transform_snap.c b/source/blender/src/transform_snap.c index 23bfaf048df..30c65fd11f5 100644 --- a/source/blender/src/transform_snap.c +++ b/source/blender/src/transform_snap.c @@ -231,7 +231,8 @@ void initSnapping(TransInfo *t) { resetSnapping(t); - if (t->spacetype == SPACE_VIEW3D || t->spacetype == SPACE_IMAGE) { // Only 3D view or UV + if ((t->spacetype == SPACE_VIEW3D || t->spacetype == SPACE_IMAGE) && // Only 3D view or UV + (t->flag & T_CAMERA) == 0) { // Not with camera selected setSnappingCallback(t); /* Edit mode */ |