Add mirror correction to rasterized polygons.

This commit is contained in:
tamasmeszaros 2019-04-02 17:48:50 +02:00
parent 1979baf619
commit 66fce6d46c
2 changed files with 20 additions and 7 deletions

View file

@ -246,7 +246,8 @@ protected:
m_transformed_rmesh.invalidate([this, &trafo, left_handed](){ m_trafo = trafo; m_left_handed = left_handed; });
}
void set_instances(const std::vector<Instance> &instances) { m_instances = instances; }
template<class InstVec> inline void set_instances(InstVec&& instances) { m_instances = std::forward<InstVec>(instances); }
// Invalidates the step, and its depending steps in SLAPrintObject and SLAPrint.
bool invalidate_step(SLAPrintObjectStep step);
bool invalidate_all_steps();