mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
PAL16202,16203 (Propagation 1D on edges group)
1) avoid double "Salome exception" in error description 2) select mesh after visualization
This commit is contained in:
parent
fddc257b55
commit
edf16dcfc6
@ -331,7 +331,7 @@ namespace SMESH {
|
|||||||
CASE2TEXT( COMPERR_BAD_INPUT_MESH);
|
CASE2TEXT( COMPERR_BAD_INPUT_MESH);
|
||||||
CASE2TEXT( COMPERR_STD_EXCEPTION );
|
CASE2TEXT( COMPERR_STD_EXCEPTION );
|
||||||
CASE2TEXT( COMPERR_OCC_EXCEPTION );
|
CASE2TEXT( COMPERR_OCC_EXCEPTION );
|
||||||
CASE2TEXT( COMPERR_SLM_EXCEPTION );
|
case SMESH::COMPERR_SLM_EXCEPTION: break; // avoid double "Salome exception"
|
||||||
CASE2TEXT( COMPERR_EXCEPTION );
|
CASE2TEXT( COMPERR_EXCEPTION );
|
||||||
CASE2TEXT( COMPERR_MEMORY_PB );
|
CASE2TEXT( COMPERR_MEMORY_PB );
|
||||||
CASE2TEXT( COMPERR_BAD_SHAPE );
|
CASE2TEXT( COMPERR_BAD_SHAPE );
|
||||||
@ -857,7 +857,6 @@ void SMESHGUI_ComputeOp::startOperation()
|
|||||||
{
|
{
|
||||||
SMESH::ModifiedMesh(aMeshSObj, !computeFailed, aMesh->NbNodes() == 0);
|
SMESH::ModifiedMesh(aMeshSObj, !computeFailed, aMesh->NbNodes() == 0);
|
||||||
update( UF_ObjBrowser | UF_Model );
|
update( UF_ObjBrowser | UF_Model );
|
||||||
Sel->setSelectedObjects( selected );
|
|
||||||
|
|
||||||
// SHOW MESH
|
// SHOW MESH
|
||||||
// NPAL16631: if ( getSMESHGUI()->automaticUpdate() )
|
// NPAL16631: if ( getSMESHGUI()->automaticUpdate() )
|
||||||
@ -881,6 +880,7 @@ void SMESHGUI_ComputeOp::startOperation()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Sel->setSelectedObjects( selected );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user