[TD]fix ScaleType change behaviour

This commit is contained in:
Wanderer Fan
2022-03-03 09:32:36 -05:00
committed by WandererFan
parent 2cff977548
commit 437a89e42a
4 changed files with 27 additions and 9 deletions

View File

@@ -325,7 +325,7 @@ double DrawProjGroupItem::getScale(void) const
double result = 1.0;
auto pgroup = getPGroup();
if (pgroup != nullptr) {
result = pgroup->Scale.getValue();
result = pgroup->getScale();
if (!(result > 0.0)) {
Base::Console().Log("DPGI - %s - bad scale found (%.3f) using 1.0\n",getNameInDocument(),Scale.getValue());
result = 1.0; //kludgy protective fix. autoscale sometimes serves up 0.0!