You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Avoid using a nullptr root in Tree._range_click_timeout().
Fixes #46648
(cherry picked from commit f17f3f8830)
This commit is contained in:
@@ -1677,6 +1677,10 @@ void Tree::_range_click_timeout() {
|
||||
}
|
||||
}
|
||||
|
||||
if (!root) {
|
||||
return;
|
||||
}
|
||||
|
||||
click_handled = false;
|
||||
Ref<InputEventMouseButton> mb;
|
||||
mb.instance();
|
||||
|
||||
Reference in New Issue
Block a user