Skip to content

Commit

Permalink
[Gui] MainWindow New Doc camera position bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored and donovaly committed Jan 3, 2022
1 parent bca9684 commit b163041
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gui/MainWindow.cpp
Expand Up @@ -1304,6 +1304,8 @@ void MainWindow::delayedStartup()
if (hGrp->GetBool("CreateNewDoc", false)) {
if (App::GetApplication().getDocuments().size()==0){
App::GetApplication().newDocument();
Gui::Command::doCommand(Gui::Command::Gui,
"Gui.activeDocument().activeView().viewDefaultOrientation()");
}
}

Expand Down

0 comments on commit b163041

Please sign in to comment.