FIX: the nums of filament_type in plater config is incorrect

2. Improve the judgment and display of the extruder printing area
jira: none

Change-Id: Ie9e1991904bfbc5bffceedb7810b1d1fa598933b
(cherry picked from commit ca5ec101f9a679d8ea4360d96a2db606923b8429)
This commit is contained in:
zhimin.zeng
2025-02-24 19:53:17 +08:00
committed by Noisyfox
parent c8bf1cedcc
commit 30bbb93680
3 changed files with 18 additions and 4 deletions

View File

@@ -153,8 +153,8 @@ BuildVolume::BuildVolume(const std::vector<Vec2d> &printable_area, const double
}
//always ignore z
extruder_volume.bboxf.min.z() = -std::numeric_limits<double>::max();
m_extruder_volumes.push_back(std::move(extruder_volume));
}
m_extruder_volumes.push_back(std::move(extruder_volume));
if (m_shared_volume.data[0] < extruder_volume.bboxf.min.x())
m_shared_volume.data[0] = extruder_volume.bboxf.min.x();