WIP still with arrange return value.

This commit is contained in:
tamasmeszaros 2019-07-03 19:24:41 +02:00
parent b5215dae1b
commit e81f8a5fd9
8 changed files with 78 additions and 79 deletions

View file

@ -559,10 +559,10 @@ public:
// /////////////////////////////////////////////////////////////////////////
// Getting the input polygon for arrange
virtual std::tuple<Polygon, Vec2crd, double> get_arrange_polygon() const final;
virtual std::tuple<Polygon, Vec2crd, double> get_arrange_polygon() const override;
// Apply the arrange result on the ModelInstance
virtual void apply_arrange_result(Vec2d offs, double rot_rads) final
virtual void apply_arrange_result(Vec2d offs, double rot_rads, unsigned /*bed_num*/) override
{
// write the transformation data into the model instance
set_rotation(Z, rot_rads);