mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-06 01:56:09 +08:00
Revert fix 10 bed appearing it broke bed selection.
This commit is contained in:
parent
67748ba395
commit
dc46c493a3
@ -133,7 +133,7 @@ void MultipleBeds::inst_map_updated()
|
||||
for (const auto& [obj_id, bed_idx] : m_inst_to_bed)
|
||||
max_bed_idx = std::max(max_bed_idx, bed_idx);
|
||||
|
||||
if (max_bed_idx < m_number_of_beds) {
|
||||
if (m_number_of_beds != max_bed_idx + 1) {
|
||||
m_number_of_beds = max_bed_idx + 1;
|
||||
m_active_bed = m_number_of_beds - 1;
|
||||
request_next_bed(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user