FIX:force_native_colol should be false in gizmo text

Jira: STUDIO-6778
Change-Id: Ib3b75ed3160f3ec41d3130cd37d14d77afc30f64
This commit is contained in:
zhou.xu 2024-04-10 10:15:30 +08:00 committed by Lane.Wei
parent 1938842ee2
commit 1804290caa
1 changed files with 4 additions and 0 deletions

View File

@ -1468,6 +1468,10 @@ void GLCanvas3D::toggle_model_objects_visibility(bool visible, const ModelObject
vol->force_neutral_color = true;
else if (gizmo_type == GLGizmosManager::MmuSegmentation)
vol->is_active = false;
else if (gizmo_type == GLGizmosManager::Text) {
vol->force_native_color = false;
vol->force_neutral_color = false;
}
else
vol->force_native_color = true;
}