Try to fix _copies_shift scaling.

master
Y. Sapir 2014-05-19 22:54:32 +03:00
parent db51e4693d
commit 0486a7f857
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ PrintObject::PrintObject(Print* print, ModelObject* model_object,
// don't assume it's already aligned and we don't alter the original position in model.
// We store the XY translation so that we can place copies correctly in the output G-code
// (copies are expressed in G-code coordinates and this translation is not publicly exposed).
this->_copies_shift = Point(modobj_bbox.min.x, modobj_bbox.min.y);
this->_copies_shift.scale(SCALING_FACTOR);
this->_copies_shift = Point(
scale_(modobj_bbox.min.x), scale_(modobj_bbox.min.y));
// TODO: $self->_trigger_copies;