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
parent
e74ccb3010
commit
a7f4d0fffc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue