Skip to content

Commit

Permalink
[TD]fix dimension update on scale change
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jun 18, 2022
1 parent 81be38e commit 4b47d38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Mod/TechDraw/App/DrawProjGroup.cpp
Expand Up @@ -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();
}
}

Expand Down Expand Up @@ -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();
}
}
}
Expand Down

0 comments on commit 4b47d38

Please sign in to comment.