From: eap Date: Wed, 29 May 2013 15:31:16 +0000 (+0000) Subject: 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0 X-Git-Tag: V7_3_0a1~379 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=557a9b549cab6acceef76ef846b27505e05406c4;hp=e884e4cd7eaad1ea8139d278835c7722a9225176 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0 - if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) ) + if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) ) The 3-d parameter aShapeOnly added to SMESH_Gen::Compute() --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 82428ef94..090721980 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -1830,7 +1830,7 @@ SMESH::MeshPreviewStruct* SMESH_Gen_i::Precompute( SMESH::SMESH_Mesh_ptr theMesh ::SMESH_Mesh& myLocMesh = meshServant->GetImpl(); TSetOfInt shapeIds; ::MeshDimension aDim = (MeshDimension)theDimension; - if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) ) + if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) ) { int nbShapeId = shapeIds.size(); theShapesId.length( nbShapeId );