Quit export mode after new file.

pull/4/head
whitequark 2016-04-16 09:05:12 +00:00
parent 6b123f2d34
commit 1098e598ae
1 changed files with 4 additions and 0 deletions

View File

@ -305,6 +305,10 @@ void SolveSpaceUI::AfterNewFile(void) {
// and the naked edges
nakedEdges.Clear();
// Quit export mode
justExportedInfo.draw = false;
exportMode = false;
// GenerateAll() expects the view to be valid, because it uses that to
// fill in default values for extrusion depths etc. (which won't matter
// here, but just don't let it work on garbage)