summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/main/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 70ec22e297..48cff5aa8e 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -759,6 +759,7 @@ void Viewport::_process_picking() {
}
if (new_collider.is_valid()) {
+ DEV_ASSERT(co);
co->_mouse_enter();
}