mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 18:39:08 +08:00
Try to fix _copies_shift scaling.
This commit is contained in:
parent
db51e4693d
commit
0486a7f857
@ -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.
|
// 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
|
// 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).
|
// (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 = Point(
|
||||||
this->_copies_shift.scale(SCALING_FACTOR);
|
scale_(modobj_bbox.min.x), scale_(modobj_bbox.min.y));
|
||||||
|
|
||||||
// TODO: $self->_trigger_copies;
|
// TODO: $self->_trigger_copies;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user