mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 19:15:33 +05:00
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()
This commit is contained in:
parent
e884e4cd7e
commit
557a9b549c
@ -1830,7 +1830,7 @@ SMESH::MeshPreviewStruct* SMESH_Gen_i::Precompute( SMESH::SMESH_Mesh_ptr theMesh
|
|||||||
::SMESH_Mesh& myLocMesh = meshServant->GetImpl();
|
::SMESH_Mesh& myLocMesh = meshServant->GetImpl();
|
||||||
TSetOfInt shapeIds;
|
TSetOfInt shapeIds;
|
||||||
::MeshDimension aDim = (MeshDimension)theDimension;
|
::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();
|
int nbShapeId = shapeIds.size();
|
||||||
theShapesId.length( nbShapeId );
|
theShapesId.length( nbShapeId );
|
||||||
|
Loading…
Reference in New Issue
Block a user