mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Regression of the test case imps/A1
In Compute2ndPart(), create a new SMESH_ElementSearcher to avoid search of volumes in a proxy mesh contaiting only faces
This commit is contained in:
parent
ae0943024f
commit
4ebb8cfccc
@ -1030,7 +1030,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh&
|
|||||||
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
|
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();
|
||||||
int i, j, k, myShapeID = myPyramids[0]->GetNode(4)->getshapeId();
|
int i, j, k, myShapeID = myPyramids[0]->GetNode(4)->getshapeId();
|
||||||
|
|
||||||
if ( !myElemSearcher )
|
if ( myElemSearcher ) delete myElemSearcher;
|
||||||
myElemSearcher = SMESH_MeshEditor(&aMesh).GetElementSearcher();
|
myElemSearcher = SMESH_MeshEditor(&aMesh).GetElementSearcher();
|
||||||
SMESH_ElementSearcher* searcher = const_cast<SMESH_ElementSearcher*>(myElemSearcher);
|
SMESH_ElementSearcher* searcher = const_cast<SMESH_ElementSearcher*>(myElemSearcher);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user