From: eap Date: Tue, 3 Sep 2013 15:48:57 +0000 (+0000) Subject: Progress bar. Increase difference between computeCost of EDGE and FACE X-Git-Tag: V7_3_0a1~166 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3efca6d10cf60c62fc675b8b3cdb1a168cb6fe6b;p=modules%2Fsmesh.git Progress bar. Increase difference between computeCost of EDGE and FACE --- 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);