Fix Dimension update on DPG Scale Change

This commit is contained in:
wandererfan
2018-08-08 21:00:31 -04:00
committed by wmayer
parent 2dd9e67887
commit dbaff50edb
3 changed files with 45 additions and 43 deletions

View File

@@ -110,7 +110,8 @@ void DrawView::checkScale(void)
void DrawView::onChanged(const App::Property* prop)
{
if (!isRestoring()) {
if (this->isDerivedFrom(TechDraw::DrawProjGroupItem::getClassTypeId())) {
if ((this->isDerivedFrom(TechDraw::DrawProjGroupItem::getClassTypeId())) ||
(this->isDerivedFrom(TechDraw::DrawProjGroup::getClassTypeId()))) {
//do nothing. DPGI/DPG handles itself
} else if (prop == &ScaleType) {
auto page = findParentPage();