We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b5310 commit 420d2aaCopy full SHA for 420d2aa
src/view.cpp
@@ -514,7 +514,7 @@ void updateViewAndChangeFrontDir(FrontDir newFrontDir, bool flyTo) {
514
515
if (std::fabs(dot(view::getUpVec(), view::getFrontVec())) > 0.1) {
516
// if the user has foolishly set upDir and frontDir to be along the same axis, fix it
517
- view::upDir = defaultOrthogonalUpDir(view::frontDir);
+ setUpDir(defaultOrthogonalUpDir(view::frontDir), flyTo);
518
}
519
520
if (viewIsValid()) {
0 commit comments