mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-19 15:03:05 +00:00
Copilot review fixes & upstream code interaction fix (#34)
* first pass at review issue 8 * delete detritus * fix build compile error due to upstream changes
This commit is contained in:
@@ -1164,6 +1164,13 @@ void PrintObject::slice()
|
||||
<< " center_offset=(" << unscale<double>(m_center_offset.x())
|
||||
<< ", " << unscale<double>(m_center_offset.y()) << ")";
|
||||
}
|
||||
|
||||
// Cache the final patched belt_floor_z_shift so a later support-only
|
||||
// invalidation can rebuild m_slicing_params without losing this exact
|
||||
// (vertex-scan-derived) value. update_slicing_parameters() will
|
||||
// restore it after create_from_config() seeds the bbox approximation.
|
||||
m_belt_floor_z_shift_cached = m_slicing_params.belt_floor_z_shift;
|
||||
m_belt_floor_z_shift_cache_valid = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user