SPE-1891: Fixed color of modifiers when moved below the printbed

This commit is contained in:
enricoturri1966 2023-09-19 09:40:19 +02:00
parent 1b5ab1ae82
commit d7b77e44bf

View File

@ -251,7 +251,7 @@ GLVolume::GLVolume(float r, float g, float b, float a)
void GLVolume::set_render_color(bool force_transparent) void GLVolume::set_render_color(bool force_transparent)
{ {
bool outside = is_outside || is_below_printbed(); bool outside = is_outside || (!is_modifier && is_below_printbed());
if (force_native_color || force_neutral_color) { if (force_native_color || force_neutral_color) {
if (outside && shader_outside_printer_detection_enabled) if (outside && shader_outside_printer_detection_enabled)