diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-07-08 15:05:57 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 15:05:57 -0300 |
commit | 20aee6f5286b7ffd25ffb1b22b0d188f6e164c0a (patch) | |
tree | 0c013cbf1aa6d93142a7e72f8ed7a3b6c82a943d | |
parent | 5a8335436f5b76f950a2f4d65b37ad10f195c08d (diff) | |
parent | 6b154c9706c4dc99728195d5009d42782bf51b86 (diff) |
Merge pull request #5598 from TheHX/issue-5482
Fix own world option of Viewport.
-rw-r--r-- | scene/main/viewport.cpp | 2 |
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) { |