Salome HOME
IPAL53051: 3D Extrusion fails
[modules/smesh.git] / src / StdMeshers / StdMeshers_Prism_3D.cxx
index d2413b56469081654c7e11fe7de8133d3666a167..5c0a5af0f29f951674211b4567b8f28a3b7de226 100644 (file)
@@ -1330,7 +1330,7 @@ bool StdMeshers_Prism_3D::compute(const Prism_3D::TPrismTopo& thePrism)
 
   // update state of sub-meshes (mostly in order to erase improper errors)
   SMESH_subMesh* sm = myHelper->GetMesh()->GetSubMesh( thePrism.myShape3D );
-  SMESH_subMeshIteratorPtr smIt = sm->getDependsOnIterator(/*includeSelf=*/false);
+  SMESH_subMeshIteratorPtr smIt = sm->getDependsOnIterator(/*includeSelf=*/true);
   while ( smIt->more() )
   {
     sm = smIt->next();