From 55e345e57872f699eec8f131295d71d8e2d43743 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 26 Apr 2013 15:53:34 +0000 Subject: [PATCH] Regression of SMESH_TEST/Grids/smesh/imps7/H6 Unreachable deep idea bool subComputed = false, subFailed = false; if (!algo->OnlyUnaryInput()) { - if ( event == COMPUTE && - ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )) + if ( event == COMPUTE /*&& + ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/) shape = getCollection( gen, algo, subComputed, subFailed ); else subComputed = SubMeshesComputed( & subFailed ); --- src/SMESH/SMESH_subMesh.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index fbd593e8b..aa2d1dd1d 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1463,8 +1463,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event) if (_father->HasShapeToMesh() ) { bool subComputed = false, subFailed = false; if (!algo->OnlyUnaryInput()) { - if ( event == COMPUTE && - ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )) + if ( event == COMPUTE /*&& + ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/) shape = getCollection( gen, algo, subComputed, subFailed ); else subComputed = SubMeshesComputed( & subFailed ); -- 2.39.2