Salome HOME
fix failure of non-regression test SMESH_TEST/Grids/smesh/imps7/H5
authoreap <eap@opencascade.com>
Wed, 27 Feb 2013 15:32:39 +0000 (15:32 +0000)
committereap <eap@opencascade.com>
Wed, 27 Feb 2013 15:32:39 +0000 (15:32 +0000)
 Synchronize Evaluate() with Compute()

src/SMESH/SMESH_Gen.cxx

index 523907a6ba9da39bcaafc5d3b2d1a260c7894937..2e8a963078a6e67d006db824b98c0e813d38c4bc 100644 (file)
@@ -522,6 +522,7 @@ bool SMESH_Gen::Evaluate(SMESH_Mesh &          aMesh,
           .And( SMESH_HypoFilter::IsMoreLocalThan( algoShape, aMesh ));
 
         if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
+          if ( ! subAlgo->NeedDiscreteBoundary() ) continue;
           SMESH_Hypothesis::Hypothesis_Status status;
           if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
             // mesh a lower smToCompute starting from vertices