summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-07-08 15:05:57 -0300
committerGitHub <noreply@github.com>2016-07-08 15:05:57 -0300
commit20aee6f5286b7ffd25ffb1b22b0d188f6e164c0a (patch)
tree0c013cbf1aa6d93142a7e72f8ed7a3b6c82a943d
parent5a8335436f5b76f950a2f4d65b37ad10f195c08d (diff)
parent6b154c9706c4dc99728195d5009d42782bf51b86 (diff)
Merge pull request #5598 from TheHX/issue-5482
Fix own world option of Viewport.
-rw-r--r--scene/main/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index c6a32d5568..bb6e6e289b 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1083,7 +1083,7 @@ void Viewport::_propagate_exit_world(Node *p_node) {
Spatial *s = p_node->cast_to<Spatial>();
if (s) {
- s->notification(Spatial::NOTIFICATION_EXIT_WORLD,false);
+ s->notification(Spatial::NOTIFICATION_EXIT_WORLD, true);
} else {
Viewport *v = p_node->cast_to<Viewport>();
if (v) {