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 );
This commit is contained in:
eap 2013-04-26 15:53:34 +00:00
parent adde8edd1b
commit 55e345e578

View File

@ -1463,8 +1463,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
if (_father->HasShapeToMesh() ) { if (_father->HasShapeToMesh() ) {
bool subComputed = false, subFailed = false; bool subComputed = false, subFailed = false;
if (!algo->OnlyUnaryInput()) { if (!algo->OnlyUnaryInput()) {
if ( event == COMPUTE && if ( event == COMPUTE /*&&
( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )) ( algo->NeedDiscreteBoundary() || algo->SupportSubmeshes() )*/)
shape = getCollection( gen, algo, subComputed, subFailed ); shape = getCollection( gen, algo, subComputed, subFailed );
else else
subComputed = SubMeshesComputed( & subFailed ); subComputed = SubMeshesComputed( & subFailed );