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

@@ -144,6 +144,10 @@ void DrawProjGroup::setCubeFromProps(void)
}
App::DocumentObjectExecReturn *DrawProjGroup::execute(void)
{
if (!keepUpdated()) {
return App::DocumentObject::StdReturn;
}
//if group hasn't been added to page yet, can't scale or distribute projItems
TechDraw::DrawPage *page = getPage();
if (!page) {