forked from bartvdbraak/blender
moving the camera on the local Z axis while in the camera view didn't work when snapping was enabled (even though the CTRL key was not pressed)
This commit is contained in:
parent
aed7f950d0
commit
2af8964d7c
@ -245,8 +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) == 0)
|
||||
{
|
||||
if (((t->tsnap.status & SNAP_ON) && (G.qual & LR_CTRLKEY)) == 0 ) {
|
||||
if (getConstraintSpaceDimension(t) == 2) {
|
||||
if (out[0] != 0.0f || out[1] != 0.0f || out[2] != 0.0f) {
|
||||
planeProjection(t, in, out);
|
||||
|
Loading…
Reference in New Issue
Block a user