[TD]fix dimension not exported to dxf

This commit is contained in:
wandererfan
2025-09-20 13:57:25 -04:00
committed by Chris Hennes
parent e90cfe7599
commit 98f50c218a

View File

@@ -730,7 +730,7 @@ private:
}
double grandParentX = 0.0;
double grandParentY = 0.0;
if (dvp->isDerivedFrom<TechDraw::DrawProjGroupItem>()) {
if (DrawView::isProjGroupItem(dvp)) {
TechDraw::DrawProjGroupItem* dpgi = static_cast<TechDraw::DrawProjGroupItem*>(dvp);
TechDraw::DrawProjGroup* dpg = dpgi->getPGroup();
if (!dpg) {