mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 05:06:34 +08:00
mesh for print: don't take instance's offset
This commit is contained in:
parent
8b9b33bab4
commit
5bfba440a0
@ -940,7 +940,7 @@ PrintObject::_slice_region(size_t region_id, std::vector<float> z, bool modifier
|
|||||||
|
|
||||||
// we ignore the per-instance transformations currently and only
|
// we ignore the per-instance transformations currently and only
|
||||||
// consider the first one
|
// consider the first one
|
||||||
TransformationMatrix trafo = object.instances[0]->get_trafo_matrix();
|
TransformationMatrix trafo = object.instances[0]->get_trafo_matrix(true);
|
||||||
|
|
||||||
// align mesh to Z = 0 (it should be already aligned actually) and apply XY shift
|
// align mesh to Z = 0 (it should be already aligned actually) and apply XY shift
|
||||||
trafo.translate(
|
trafo.translate(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user