[TD]Allow forced redraw of Page

This commit is contained in:
wandererfan
2019-08-29 11:32:33 -04:00
committed by WandererFan
parent 2c2c851cc3
commit b24eea7beb
8 changed files with 684 additions and 32 deletions

View File

@@ -367,9 +367,11 @@ bool DrawView::keepUpdated(void)
bool result = false;
bool pageUpdate = false;
bool force = false;
TechDraw::DrawPage *page = findParentPage();
if(page) {
pageUpdate = page->KeepUpdated.getValue();
force = page->forceRedraw();
}
if (DrawPage::GlobalUpdateDrawings() &&
@@ -380,6 +382,9 @@ bool DrawView::keepUpdated(void)
pageUpdate) {
result = true;
}
if (force) { //when do we turn this off??
result = true;
}
return result;
}