From: eap Date: Tue, 18 Sep 2018 14:38:32 +0000 (+0300) Subject: 23586: [EDF] HYDRO: Copy mesh to new geometry X-Git-Tag: V9_2_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=807d754b0e9a3ef7f4a344ded76ecd742c7fff76;ds=sidebyside 23586: [EDF] HYDRO: Copy mesh to new geometry fix highlighting at mesh computing --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index cd9c86098..c383a29fc 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -1965,7 +1965,8 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh, meshServant->CreateGroupServants(); // algos can create groups (issue 0020918) myLocMesh.GetMeshDS()->Modified(); UpdateIcons( theMesh ); - HighLightInvalid( theMesh, /*isInvalid=*/!ok ); + if ( ok ) + HighLightInvalid( theMesh, /*isInvalid=*/false ); return ok; } }