]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
authoreap <eap@opencascade.com>
Wed, 29 May 2013 15:31:16 +0000 (15:31 +0000)
committereap <eap@opencascade.com>
Wed, 29 May 2013 15:31:16 +0000 (15:31 +0000)
-      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()

src/SMESH_I/SMESH_Gen_i.cxx

index 82428ef94a977277cb7c1fdfe646eedbac8e9078..090721980609f186556ad09ae4d15058ea69b093 100644 (file)
@@ -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 );