Added C++ command line processing, thanks @alexrj and @loh

This commit is contained in:
bubnikv committed 2018-09-20 16:48:13 +02:00
1 parent 6ca5a18d05
commit add45a8f6e
11 files changed
+467 -105

No files matched your search

+2 -2
View File
@@ -1591,7 +1591,7 @@ std::vector<ExPolygons> PrintObject::slice_support_enforcers() const
std::vector<float> zs;
zs.reserve(this->layers().size());
for (const Layer *l : this->layers())
zs.emplace_back(l->slice_z);
zs.emplace_back((float)l->slice_z);
return this->_slice_volumes(zs, volumes);
}
@@ -1604,7 +1604,7 @@ std::vector<ExPolygons> PrintObject::slice_support_blockers() const
std::vector<float> zs;
zs.reserve(this->layers().size());
for (const Layer *l : this->layers())
zs.emplace_back(l->slice_z);
zs.emplace_back((float)l->slice_z);
return this->_slice_volumes(zs, volumes);
}