From: eap Date: Fri, 26 Apr 2013 15:53:34 +0000 (+0000) Subject: Regression of SMESH_TEST/Grids/smesh/imps7/H6 X-Git-Tag: V7_2_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55e345e57872f699eec8f131295d71d8e2d43743;p=modules%2Fsmesh.git 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 ); --- 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 );