PD: Translate wire not closed exception

This is a user-visible exception, shown in a dialog box
This commit is contained in:
Chris Hennes
2024-03-03 20:56:29 -06:00
committed by Yorik van Havre
parent debc7df148
commit e0ecd213b2

View File

@@ -71,7 +71,7 @@ void FaceMakerBullseye::Build_Essence()
//validity check
for (TopoDS_Wire& w : myWires) {
if (!BRep_Tool::IsClosed(w))
throw Base::ValueError("Wire is not closed.");
throw Base::ValueError(QT_TRANSLATE_NOOP("Exception", "Wire is not closed."));
}