From: eap Date: Thu, 8 Aug 2013 12:38:43 +0000 (+0000) Subject: decorations X-Git-Tag: V7_3_0a1~211 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b19ad3a4fdbc680eb10b5030e15fec93834a1d4d;p=modules%2Fsmesh.git decorations --- diff --git a/src/SMESHDS/SMESHDS_Mesh.cxx b/src/SMESHDS/SMESHDS_Mesh.cxx index f36c28b94..d93e784c3 100644 --- a/src/SMESHDS/SMESHDS_Mesh.cxx +++ b/src/SMESHDS/SMESHDS_Mesh.cxx @@ -888,8 +888,8 @@ void SMESHDS_Mesh::RemoveFreeNode(const SMDS_MeshNode * n, set::iterator GrIt = myGroups.begin(); for (; GrIt != myGroups.end(); GrIt++) { SMESHDS_Group* group = dynamic_cast(*GrIt); - if (!group || group->IsEmpty()) continue; - group->SMDSGroup().Remove(n); + if (group && !group->IsEmpty()) + group->SMDSGroup().Remove(n); } }