diff --git a/vcg/math/shot.h b/vcg/math/shot.h index ab4c52c1..07705381 100644 --- a/vcg/math/shot.h +++ b/vcg/math/shot.h @@ -487,6 +487,8 @@ void Shot::ApplyRigidTransformation(const Matrix44 & M) // roto-translate the viewpoint Extrinsics.tra = M * Extrinsics.tra; Matrix44 newRot = rotM * M.transpose(); + newRot[3][0] = newRot[3][1] = newRot[3][2] = 0.0; + Extrinsics.SetRot(newRot); }