mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
layer_height_profile_adaptive() was using object_print_z_height() (shrinkage-compensated) to bound the profile, but update_layer_height_profile() validates against object_print_z_uncompensated_max. When shrinkage compensation is active, the mismatch causes the adaptive profile to be silently cleared every frame and replaced with flat layers. Use object_print_z_uncompensated_height() instead, matching both the validator and the existing layer_height_profile_from_ranges() implementation which already uses the uncompensated value. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>