diff --git a/src/Controls/SMESH_Controls.cxx b/src/Controls/SMESH_Controls.cxx index 0c33a0078..6f1f88f82 100644 --- a/src/Controls/SMESH_Controls.cxx +++ b/src/Controls/SMESH_Controls.cxx @@ -3761,7 +3761,9 @@ bool ElementsOnShape::IsSatisfy (long elemId) } // Check the center point for volumes MantisBug 0020168 - if (isSatisfy && myClassifiers[i]->ShapeType() == TopAbs_SOLID) + if (isSatisfy && + myAllNodesFlag && + myClassifiers[i]->ShapeType() == TopAbs_SOLID) { centerXYZ /= elem->NbNodes(); isSatisfy = ! myClassifiers[i]->IsOut( centerXYZ );