[TD]fix ScaleType change behaviour
This commit is contained in:
committed by
WandererFan
parent
2cff977548
commit
437a89e42a
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user