a var was declared twice in the same function, just removing the
[blender-staging.git] / intern / boolop / intern / BOP_BSPNode.cpp
index 646e8c22bd36d70b4ea8ff76150f794e3a2c3484..68a20d7a5a42edc5ed7925e7baac04bca72fe9b6 100644 (file)
@@ -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.
 
                // 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);
                for(BOP_IT_BSPPoints itp=pts.begin();itp!=ptsEnd;itp++){
                        MT_Point3 npoint= *itp;
                        BOP_TAG ntag = testPoint(npoint);