diff --git a/intern/boolop/intern/BOP_BSPNode.cpp b/intern/boolop/intern/BOP_BSPNode.cpp index 646e8c22bd3..68a20d7a5a4 100644 --- a/intern/boolop/intern/BOP_BSPNode.cpp +++ b/intern/boolop/intern/BOP_BSPNode.cpp @@ -98,7 +98,7 @@ unsigned int BOP_BSPNode::addFace(BOP_BSPPoints pts, // classify each line segment, looking for endpoints which lie on different // sides of the hyperplane. - BOP_IT_BSPPoints ptsEnd = pts.end(); + ptsEnd = pts.end(); for(BOP_IT_BSPPoints itp=pts.begin();itp!=ptsEnd;itp++){ MT_Point3 npoint= *itp; BOP_TAG ntag = testPoint(npoint);