Allow DrawPage updates to be suspended

This commit is contained in:
WandererFan
2017-07-20 18:29:56 -04:00
committed by wmayer
parent b9292683ae
commit e8f2c68b5c
28 changed files with 844 additions and 69 deletions

View File

@@ -190,6 +190,10 @@ void DrawViewCollection::unsetupObject()
App::DocumentObjectExecReturn *DrawViewCollection::execute(void)
{
if (!keepUpdated()) {
return App::DocumentObject::StdReturn;
}
if (ScaleType.isValue("Page")) {
const std::vector<App::DocumentObject *> &views = Views.getValues();
for(std::vector<App::DocumentObject *>::const_iterator it = views.begin(); it != views.end(); ++it) {