FIX:do not render plate pick when open gizmo
Jira: STUDIO-5785 Change-Id: I8e417d04c6f3b8c1ea049efb23c74e51ab916529
This commit is contained in:
parent
fbdb3720ca
commit
b5a913e127
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue