FIX:do not render plate pick when open gizmo

Jira: STUDIO-5785
Change-Id: I8e417d04c6f3b8c1ea049efb23c74e51ab916529
This commit is contained in:
zhou.xu 2024-01-04 10:02:16 +08:00 committed by Lane.Wei
parent fbdb3720ca
commit b5a913e127
1 changed files with 1 additions and 1 deletions

View File

@ -6563,7 +6563,7 @@ void GLCanvas3D::_picking_pass()
glsafe(::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)); glsafe(::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
//BBS: only render plate in view 3D //BBS: only render plate in view 3D
if (m_canvas_type == ECanvasType::CanvasView3D) { if (m_canvas_type == ECanvasType::CanvasView3D && m_gizmos.get_current_type() == GLGizmosManager::EType::Undefined) {
_render_plates_for_picking(); _render_plates_for_picking();
} }