]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
performance
authorenk <enk@opencascade.com>
Fri, 13 Apr 2007 14:05:59 +0000 (14:05 +0000)
committerenk <enk@opencascade.com>
Fri, 13 Apr 2007 14:05:59 +0000 (14:05 +0000)
src/VISU_I/VISU_PrsMerger_i.cc

index c021c9d34f9c41f67e0035d12afffc6d19637d6b..ff3eda3bbaa1e9c7d25e3d6021a9f21b8ecb056e 100644 (file)
@@ -534,9 +534,11 @@ VISU::PrsMerger_i
 ::CheckGroup(const char* theGroupName)
 {
   if (MYDEBUG) MESSAGE("PrsMerger_i::CheckGroup :|"<<theGroupName<<"|");
+  if(myEntity == NODE_ENTITY)
+    return true;
   string aMeshName  = myMeshName;
   string aGroupName = theGroupName;
-
+  
   VISU::PIDMapper anIDMapper;
   anIDMapper = myResult->GetInput()->GetMeshOnGroup(aMeshName,theGroupName);
   if (MYDEBUG) MESSAGE("anIDMapper="<<anIDMapper);