From 04efa6b9dcf9505bd1c1886aa566fd46f03a9b86 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 10 Feb 2010 07:36:45 +0000 Subject: [PATCH] clear auxiliary data after Compute() --- src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx index 0b8783f88..d0441576d 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx @@ -907,11 +907,11 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh) if(ang2(PrmI->GetNode(4)); VN1.Scale(coef1); + VN2.Scale(coef2); + SMDS_MeshNode* aNode1 = const_cast(PrmI->GetNode(4)); aNode1->setXYZ( PC1.X()+VN1.X(), PC1.Y()+VN1.Y(), PC1.Z()+VN1.Z() ); SMDS_MeshNode* aNode2 = const_cast(PrmJ->GetNode(4)); - VN2.Scale(coef2); aNode2->setXYZ( PC2.X()+VN2.X(), PC2.Y()+VN2.Y(), PC2.Z()+VN2.Z() ); NeedMove = true; } @@ -933,6 +933,9 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh) q2tPrev->second.splice( q2tPrev->second.end(), q2t->second ); } + myPyram2Trias.clear(); // no more needed + myDegNodes.clear(); + return true; } -- 2.39.2