From 9da3ff46f08975ecf2c494d83a6cf3c006eafee8 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 20 Nov 2008 08:46:09 +0000 Subject: [PATCH] Avoid meshing submeshes with global algos under submeshes that are to be meshed with all-dim algos like NETGEN 1D-2D --- src/SMESH/SMESH_Gen.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index e8d57f86c..a745417e7 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -229,8 +229,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) { SMESH_Hypothesis::Hypothesis_Status status; if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status )) - // mesh a lower smToCompute starting from vertices - Compute( aMesh, aSubShape, /*anUpward=*/true ); + // mesh a lower smToCompute + Compute( aMesh, aSubShape ); } } } -- 2.39.2