summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-01-26 16:10:32 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-01-26 16:10:32 +0100
commitb15a3ea3a49cf2e9684fa253b24c542f5f4d22e5 (patch)
tree672ada6e6bcbc575180b7647f8846046d20a373f /scene
parent44c0bfc94d81e758b39a8ee43df5915d64200ed6 (diff)
Added assertion check
Diffstat (limited to 'scene')
-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();
}