[TD]fix Section scale for DPGI base views

This commit is contained in:
wandererfan
2024-01-18 13:27:29 -05:00
committed by WandererFan
parent 893f0fed5b
commit cf3189fef7
4 changed files with 24 additions and 26 deletions
@@ -329,6 +329,16 @@ double DrawProjGroupItem::getScale(void) const
return 1.0;
}
int DrawProjGroupItem::getScaleType() const
{
auto pgroup = getPGroup();
if (pgroup) {
return pgroup->getScaleType();
}
return ScaleType.getValue();
}
void DrawProjGroupItem::unsetupObject()
{
if (!getPGroup()) {