Progress bar. Increase difference between computeCost of EDGE and FACE

This commit is contained in:
eap 2013-09-03 15:48:57 +00:00
parent 8a85c65b1e
commit 3efca6d10c

View File

@ -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);