mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-06 02:06:04 +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
|
||||
// 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
|
||||
trafo.translate(
|
||||
|
Loading…
x
Reference in New Issue
Block a user