Manual merge of the TriangleMesh.cpp from the stable branch.

This commit is contained in:
bubnikv 2018-12-12 10:02:01 +01:00
parent e1ca861ee6
commit 5ea8df0ca0
3 changed files with 413 additions and 217 deletions

View file

@ -185,6 +185,7 @@ public:
bool empty() const override { return m_objects.empty(); }
ApplyStatus apply(const Model &model, const DynamicPrintConfig &config) override;
void process() override;
// Returns true if an object step is done on all objects and there's at least one object.
bool is_step_done(SLAPrintObjectStep step) const;
// Returns true if the last step was finished with success.
bool finished() const override { return this->is_step_done(slaposIndexSlices); }