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.
This commit is contained in:
whitequark 2016-04-16 02:16:47 +00:00
parent e74ccb3010
commit a7f4d0fffc

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) {