mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: fitst layer bbox was wrong for multiple plates
brim bounding box is now shifted w.r.t. plate origin, need to modify the no-brim shift the same way. Change-Id: Iefa7287e2848aadbfc4a468bca394ecec48a1e7c
This commit is contained in:
parent
4640cf9a1a
commit
0cad88309c
6 changed files with 21 additions and 22 deletions
|
@ -6658,8 +6658,6 @@ PlateBBoxData Plater::priv::generate_first_layer_bbox()
|
|||
{
|
||||
auto bb_scaled = obj->get_first_layer_bbox(data.area, data.layer_height, data.name);
|
||||
auto bb = unscaled(bb_scaled);
|
||||
bb.min -= orig2d;
|
||||
bb.max -= orig2d;
|
||||
bbox_all.merge(bb);
|
||||
data.area *= (SCALING_FACTOR * SCALING_FACTOR); // unscale area
|
||||
data.id = obj->id().id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue