mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Attempt to fix build on Linux
This commit is contained in:
parent
f52f0f3634
commit
748a4438ba
3 changed files with 11 additions and 11 deletions
|
@ -252,7 +252,7 @@ GLVolume::GLVolume(float r, float g, float b, float a)
|
|||
, zoom_to_volumes(true)
|
||||
, shader_outside_printer_detection_enabled(false)
|
||||
, is_outside(false)
|
||||
, hover(None)
|
||||
, hover(HS_None)
|
||||
, is_modifier(false)
|
||||
, is_wipe_tower(false)
|
||||
, is_extrusion_path(false)
|
||||
|
@ -292,9 +292,9 @@ void GLVolume::set_render_color()
|
|||
if (force_native_color)
|
||||
set_render_color(color, 4);
|
||||
else {
|
||||
if (hover == Select)
|
||||
if (hover == HS_Select)
|
||||
set_render_color(HOVER_SELECT_COLOR, 4);
|
||||
else if (hover == Deselect)
|
||||
else if (hover == HS_Deselect)
|
||||
set_render_color(HOVER_DESELECT_COLOR, 4);
|
||||
else if (selected)
|
||||
set_render_color(is_outside ? SELECTED_OUTSIDE_COLOR : SELECTED_COLOR, 4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue