mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-08 20:50:19 -06:00
Fix recording bug introduced with anchor-and-aim
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user