fix grouped widget arrangement in belt mode

This commit is contained in:
Stewart Allen 2021-01-24 20:50:10 -05:00
commit 27f1f6c444
2 changed files with 8 additions and 3 deletions

View file

@ -17,9 +17,9 @@
# FDM
* `B` large # linear points with linear infill (belt only?)
* `B` client/worker cache invalidated by latest rotation work
* `B` fix adaptive slicing with multi-extruder
* `B` fix supports with grouped parts
* `B` fix support projection/end with grouped parts
* `B` multi-extruder rendering of raft fails to offset the rest of the print
* `B` multi-extruder purge blocks fail to generate properly for rafts

View file

@ -1751,7 +1751,12 @@
if (isBelt) {
let bounds = platformUpdateBounds(),
movey = -(dev.bedDepth / 2 + bounds.min.y);
forAllWidgets(widget => widget.move(0, movey + 5, 0));
forAllWidgets(widget => {
// only move the master widget in the group
if (widget.id === widget.group.id) {
widget.move(0, movey + 5, 0)
}
});
}
platform.update_origin();