From c073bfbcf8601f6a3da40290ea0d38442381e4de Mon Sep 17 00:00:00 2001 From: Emil Axelsson Date: Tue, 2 Apr 2019 17:36:49 +0200 Subject: [PATCH] Fix recording bug introduced with anchor-and-aim --- src/interaction/externinteraction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interaction/externinteraction.cpp b/src/interaction/externinteraction.cpp index cac61e8bbc..1ab159e71e 100644 --- a/src/interaction/externinteraction.cpp +++ b/src/interaction/externinteraction.cpp @@ -121,7 +121,7 @@ datamessagestructures::CameraKeyframe ExternInteraction::generateCameraKeyframe( if (kf._followNodeRotation) { kf._position = glm::inverse(focusNode->worldRotationMatrix()) * kf._position; kf._rotation = - global::navigationHandler.orbitalNavigator().anchorNodeToCameraVector(); + global::navigationHandler.orbitalNavigator().anchorNodeToCameraRotation(); } else { kf._rotation = global::navigationHandler.camera()->rotationQuaternion();