Skip to content

Commit eb6f27c

Browse files
authored
Merge pull request #2272 from RubioJr9/cam_rotation_fix
Fix Camera Rotation State Variable
2 parents a5e2012 + 081a7e6 commit eb6f27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interface/Modules/Render/ViewScene.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ void ViewSceneDialog::pushCameraRotation()
881881
if(!spire) return;
882882

883883
auto q = spire->getCameraRotation();
884-
state_->setValue(Modules::Render::ViewScene::CameraRotation, makeAnonymousVariableList(q[0], q[1], q[2], q[3]));
884+
state_->setValue(Modules::Render::ViewScene::CameraRotation, makeAnonymousVariableList(q.w, q.x, q.y, q.z));
885885
pushingCameraState_ = false;
886886
}
887887

0 commit comments

Comments
 (0)