Salome HOME
Regression of SMESH_TEST/Grids/smesh/imps7/H6
authoreap <eap@opencascade.com>
Fri, 26 Apr 2013 15:53:34 +0000 (15:53 +0000)
committereap <eap@opencascade.com>
Fri, 26 Apr 2013 15:53:34 +0000 (15:53 +0000)
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

index fbd593e8bf361e2c754d575f94e4b0c07679fd07..aa2d1dd1d32e2adb2b8cfac22e8e518705abc4ed 100644 (file)
@@ -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 );