FEM: Remove set but unused variable

This commit is contained in:
Chris Hennes
2024-06-21 15:31:14 -05:00
committed by Yorik van Havre
parent ded5c63667
commit 6f277af10a
2 changed files with 3 additions and 3 deletions

View File

@@ -1526,7 +1526,7 @@ Py::Dict FemMeshPy::getNodes() const
Base::Matrix4D Mtrx = getFemMeshPtr()->getTransform();
SMDS_NodeIteratorPtr aNodeIter = getFemMeshPtr()->getSMesh()->GetMeshDS()->nodesIterator();
for (int i = 0; aNodeIter->more(); i++) {
while (aNodeIter->more()) {
const SMDS_MeshNode* aNode = aNodeIter->next();
Base::Vector3d vec(aNode->X(), aNode->Y(), aNode->Z());
// Apply the matrix to hold the BoundBox in absolute space.