[TD]fix dimension update on scale change

This commit is contained in:
Wanderer Fan
2022-06-17 16:24:50 -04:00
committed by WandererFan
parent 81be38ea8d
commit 4b47d38eb6

View File

@@ -120,8 +120,7 @@ void DrawProjGroup::onChanged(const App::Property* prop)
if (prop == &Scale) {
if (!m_lockScale) {
updateChildrenScale();
// the whole group needs to be recomputed after the different children to take the spacingX/Y into account
updateViews();
updateChildrenEnforce();
}
}
@@ -1019,7 +1018,6 @@ void DrawProjGroup::updateChildrenScale(void)
throw Base::TypeError("Error: projection in DPG list is not a DPGI!");
} else {
view->Scale.setValue(getScale());
view->recomputeFeature();
}
}
}