mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:35:52 +08:00
SPE-1891: Fixed color of modifiers when moved below the printbed
This commit is contained in:
parent
1b5ab1ae82
commit
d7b77e44bf
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user