Index: common/camera.cpp =================================================================== --- common/camera.cpp (revision 1633) +++ common/camera.cpp (working copy) @@ -699,7 +699,6 @@ { Z[0] = -Z[0]; Z[1] = -Z[1]; - DistanceX = -DistanceX; } lcMatrix44 YRot(lcVector4(Z[0], Z[1], 0.0f, 0.0f), lcVector4(-Z[1], Z[0], 0.0f, 0.0f), lcVector4(0.0f, 0.0f, 1.0f, 0.0f), lcVector4(0.0f, 0.0f, 0.0f, 1.0f)); @@ -715,6 +714,7 @@ bAddKey = false; ChangeKey(nTime, bAddKey, mPosition, LC_CK_EYE); + ChangeKey(nTime, bAddKey, mTargetPosition, LC_CK_TARGET); ChangeKey(nTime, bAddKey, mUpVector, LC_CK_UP); UpdatePosition(nTime); Index: common/project.cpp =================================================================== --- common/project.cpp (revision 1633) +++ common/project.cpp (working copy) @@ -6238,6 +6238,8 @@ return false; } + lcVector3 TransformedMove(Move); + // Transform the translation if we're in relative mode. if ((m_nSnap & LC_DRAW_GLOBAL_SNAP) == 0) { @@ -6244,10 +6246,10 @@ Object* Focus = GetFocusObject(); if ((Focus != NULL) && Focus->IsPiece()) - Move = lcMul30(Move, ((Piece*)Focus)->mModelWorld); + TransformedMove = lcMul30(TransformedMove, ((Piece*)Focus)->mModelWorld); } - float x = Move[0], y = Move[1], z = Move[2]; + float x = TransformedMove[0], y = TransformedMove[1], z = TransformedMove[2]; for (int CameraIdx = 0; CameraIdx < mCameras.GetSize(); CameraIdx++) {