introduce flag to skip recomputes of a document when needed

This commit is contained in:
wmayer
2016-10-21 22:23:34 +02:00
parent 9c49a0bab1
commit 01996d8f13
6 changed files with 80 additions and 23 deletions

View File

@@ -297,7 +297,7 @@ Document* Application::newDocument(const char * Name, const char * UserName)
}
// create the FreeCAD document
std::unique_ptr<Document> newDoc(new Document() );
std::unique_ptr<Document> newDoc(new Document());
// add the document to the internal list
DocMap[name] = newDoc.release(); // now owned by the Application