Merge pull request #5598 from TheHX/issue-5482
Fix own world option of Viewport.
This commit is contained in:
commit
20aee6f528
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue