Follow-up of 9190810c1f
- Modified code to use the new ColorRGBA
This commit is contained in:
parent
a9bd58639c
commit
6f9efbf19a
1 changed files with 1 additions and 1 deletions
|
@ -1845,7 +1845,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||
volume->is_modifier = !mvs->model_volume->is_model_part();
|
||||
volume->set_color(color_from_model_volume(*mvs->model_volume));
|
||||
// force update of render_color alpha channel
|
||||
bool transparent = volume->color[3] < 1.0f;
|
||||
bool transparent = volume->color.is_transparent();
|
||||
if (transparent)
|
||||
volume->force_transparent = true;
|
||||
volume->set_render_color();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue