PD: Translate wire not closed exception
This is a user-visible exception, shown in a dialog box
This commit is contained in:
committed by
Yorik van Havre
parent
debc7df148
commit
e0ecd213b2
@@ -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."));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user