Fully reinitialize graphics window in AfterNewFile().

Before this commit it was possible to cause a crash by e.g. selecting
a face and pressing Ctrl+N, or numerous other glitches.
pull/4/head
whitequark 2016-04-16 02:16:47 +00:00
parent e74ccb3010
commit a7f4d0fffc
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ void GraphicsWindow::Init(void) {
context.active = false; context.active = false;
// Do this last, so that all the menus get updated correctly. // Do this last, so that all the menus get updated correctly.
EnsureValidActives(); ClearSuper();
} }
void GraphicsWindow::AnimateOntoWorkplane(void) { void GraphicsWindow::AnimateOntoWorkplane(void) {