Salome HOME
23636: EDF 18217 - Problem when suppressing CAD
[modules/smesh.git] / src / SMESHDS / SMESHDS_GroupBase.cxx
index 95a91cd0c7f5e40f09de0e75b18e9cfb528b67b2..0aad7f8a3483d57a652ba1a24eed77e9b07ac2f9 100644 (file)
@@ -126,7 +126,7 @@ bool SMESHDS_GroupBase::IsEmpty()
 {
   if ( myMesh->GetMeshInfo().NbElements( myType ) == 0 )
     // avoid long iteration over sub-meshes of a complex sub-mesh of a group on geometry
-    return false;
+    return true;
   SMDS_ElemIteratorPtr it = GetElements();
   return ( !it || !it->more() );
 }