From 0486a7f85720ab9a512c15cbc38620b5653cb38a Mon Sep 17 00:00:00 2001 From: "Y. Sapir" Date: Mon, 19 May 2014 22:54:32 +0300 Subject: [PATCH] Try to fix _copies_shift scaling. --- xs/src/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/src/Print.cpp b/xs/src/Print.cpp index d2ec96bf1..4f7e8d7e3 100644 --- a/xs/src/Print.cpp +++ b/xs/src/Print.cpp @@ -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;