mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-12 13:53:07 +05:00
Mantis issue 0021835: EDF 2070 GEOM : Problem with detecting Self-intersections
This commit is contained in:
parent
48e1d4982a
commit
6fed33a094
@ -7,6 +7,10 @@
|
||||
<source>BRep_API: command not done</source>
|
||||
<translation>Error: can't build object</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PAL_NOT_DONE_ERROR</source>
|
||||
<translation>Operation aborted</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>CHANGE_ORIENTATION_NEW_OBJ_NAME</source>
|
||||
<translation>Invert</translation>
|
||||
|
@ -18,11 +18,9 @@
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
// GEOM GEOMGUI : GUI for Geometry component
|
||||
// File : MeasureGUI_CheckSelfIntersectionsDlg.cxx
|
||||
// Author : Vladimir KLYACHIN, Open CASCADE S.A.S. (vladimir.klyachin@opencascade.com)
|
||||
|
||||
#include "MeasureGUI_CheckSelfIntersectionsDlg.h"
|
||||
#include "MeasureGUI_Widgets.h"
|
||||
@ -144,7 +142,13 @@ void MeasureGUI_CheckSelfIntersectionsDlg::processObject()
|
||||
SalomeApp_Tools::QtCatchCorbaException(e);
|
||||
isFailed = true;
|
||||
}
|
||||
if (isFailed) {
|
||||
|
||||
if (!anOper->IsDone()) {
|
||||
aMsg += tr(anOper->GetErrorCode());
|
||||
myGrp->TextView1->setText(aMsg);
|
||||
return;
|
||||
}
|
||||
else if (isFailed) {
|
||||
aMsg += tr("GEOM_CHECK_SELF_INTERSECTIONS_FAILED");
|
||||
myGrp->TextView1->setText(aMsg);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user