| 147 | } |
| 148 | |
| 149 | void DrawView::touchTreeOwner(App::DocumentObject *owner) const |
| 150 | { |
| 151 | auto ownerView = dynamic_cast<DrawView *>(owner); |
| 152 | if (ownerView) { |
| 153 | ownerView->touch(); |
| 154 | } |
| 155 | else { // If no owner is specified, touch all parent pages |
| 156 | for (auto page : findAllParentPages()) { |
| 157 | page->touch(); |
| 158 | } |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | void DrawView::onBeforeChange(const App::Property *prop) |
| 163 | { |