FIX:fix black render for boolean gizmo

jira: none
Change-Id: I4b7fa09eadb0dac79838220fa20a2eae2df02cfb
This commit is contained in:
zhou.xu 2025-01-13 19:14:51 +08:00 committed by lane.wei
parent 065e05b376
commit 543eb6f4e2
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ void GLCanvas3D::toggle_model_objects_visibility(bool visible, const ModelObject
vol->force_neutral_color = false;
else if (gizmo_type == GLGizmosManager::MmuSegmentation)
vol->is_active = false;
else if (gizmo_type == GLGizmosManager::Text) {
else if (gizmo_type == GLGizmosManager::Text || gizmo_type == GLGizmosManager::MeshBoolean) {
vol->force_native_color = false;
vol->force_neutral_color = false;
}