mirror of https://github.com/godotengine/godot
Added assertion check
This commit is contained in:
parent
44c0bfc94d
commit
b15a3ea3a4
|
|
@ -759,6 +759,7 @@ void Viewport::_process_picking() {
|
|||
}
|
||||
|
||||
if (new_collider.is_valid()) {
|
||||
DEV_ASSERT(co);
|
||||
co->_mouse_enter();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue