Path: Fix a further warning

This commit is contained in:
wmayer 2015-07-14 19:12:46 +02:00
parent e6621ea78c
commit 945638c405

View File

@ -392,7 +392,7 @@ void ViewProviderPath::recomputeBoundingBox()
Path::Feature* pcPathObj = static_cast<Path::Feature*>(pcObject);
Base::Placement pl = *(&pcPathObj->Placement.getValue());
Base::Vector3d pt;
for (unsigned int i=0;i<pcLineCoords->point.getNum();i++) {
for (int i=0;i<pcLineCoords->point.getNum();i++) {
pt.x = pcLineCoords->point[i].getValue()[0];
pt.y = pcLineCoords->point[i].getValue()[1];
pt.z = pcLineCoords->point[i].getValue()[2];