+ fix various warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user