From 807d754b0e9a3ef7f4a344ded76ecd742c7fff76 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Sep 2018 17:38:32 +0300 Subject: [PATCH] 23586: [EDF] HYDRO: Copy mesh to new geometry fix highlighting at mesh computing --- src/SMESH_I/SMESH_Gen_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.2