[TD]remove spurious error messages

This commit is contained in:
wandererfan
2024-06-12 18:25:59 -04:00
committed by WandererFan
parent 0830360e1f
commit 526e6c5a62
2 changed files with 14 additions and 9 deletions

View File

@@ -387,7 +387,12 @@ void DrawViewPart::onHlrFinished()
m_tempGeometryObject = nullptr; //superfluous?
}
if (!geometryObject) {
throw Base::RuntimeError("DrawViewPart has lost its geometry");
throw Base::RuntimeError("DrawViewPart has lost its geometry object");
}
if (!hasGeometry()) {
Base::Console().Error("TechDraw did not retrieve any geometry for %s/%s\n",
getNameInDocument(), Label.getValue());
}
//the last hlr related task is to make a bbox of the results