From 3efca6d10cf60c62fc675b8b3cdb1a168cb6fe6b Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 3 Sep 2013 15:48:57 +0000 Subject: [PATCH] Progress bar. Increase difference between computeCost of EDGE and FACE --- src/SMESH/SMESH_subMesh.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 7f96a76fd..1246c5fa3 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -385,9 +385,9 @@ int SMESH_subMesh::computeCost() const int computeCost; switch ( _subShape.ShapeType() ) { case TopAbs_SOLID: - case TopAbs_SHELL: computeCost = 1000; break; - case TopAbs_FACE: computeCost = 100; break; - case TopAbs_EDGE: computeCost = 10; break; + case TopAbs_SHELL: computeCost = 5000; break; + case TopAbs_FACE: computeCost = 500; break; + case TopAbs_EDGE: computeCost = 2; break; default: computeCost = 1; } SMESH_subMeshIteratorPtr childIt = getDependsOnIterator(/*includeSelf=*/false); -- 2.30.2