+ fix various warnings

This commit is contained in:
wmayer
2015-08-29 22:05:09 +02:00
parent 1a12d109e9
commit cb16fec6bb
25 changed files with 55 additions and 40 deletions

View File

@@ -325,7 +325,7 @@ bool MeshProjection::connectLines(std::list< std::pair<Base::Vector3f, Base::Vec
// get nearest line
float fMin = fMaxDist * fMaxDist;
bool bPos;
bool bPos = false;
for (it = cutLines.begin(); it != cutLines.end(); ++it) {
float fD1 = Base::DistanceP2(curr, it->first);
float fD2 = Base::DistanceP2(curr, it->second);

View File

@@ -860,6 +860,9 @@ void MeshObject::cut(const Base::Polygon2D& polygon2d,
case OUTER:
inner = false;
break;
default:
inner = true;
break;
}
MeshCore::MeshFacetGrid meshGrid(this->_kernel);