FIX: assemble hide cannot work in multi-color case
Change-Id: Icde1812012bbd436efb2a60c29870627b9cfff71
This commit is contained in:
parent
e03f4ff67e
commit
72c80aaad8
|
@ -2046,6 +2046,7 @@ void GLCanvas3D::set_selected_visible(bool visible)
|
|||
volume->visible = visible;
|
||||
volume->color[3] = visible ? 1.f : GLVolume::MODEL_HIDDEN_COL[3];
|
||||
volume->render_color[3] = volume->color[3];
|
||||
volume->force_native_color = !visible;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue