Tech ENABLE_RAYCAST_PICKING - Do know allow picking while dragging gizmos
This commit is contained in:
parent
3a760d61e4
commit
37d36616ee
1 changed files with 1 additions and 1 deletions
|
@ -5422,7 +5422,7 @@ void GLCanvas3D::_refresh_if_shown_on_screen()
|
|||
#if ENABLE_RAYCAST_PICKING
|
||||
void GLCanvas3D::_picking_pass()
|
||||
{
|
||||
if (!m_picking_enabled || m_mouse.dragging || m_mouse.position == Vec2d(DBL_MAX, DBL_MAX)) {
|
||||
if (!m_picking_enabled || m_mouse.dragging || m_mouse.position == Vec2d(DBL_MAX, DBL_MAX) && !m_gizmos.is_dragging()) {
|
||||
ImGuiWrapper& imgui = *wxGetApp().imgui();
|
||||
imgui.begin(std::string("Hit result"), ImGuiWindowFlags_AlwaysAutoResize);
|
||||
imgui.text("Picking disabled");
|
||||
|
|
Loading…
Add table
Reference in a new issue