summaryrefslogtreecommitdiff
path: root/scene/2d/visibility_notifier_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/visibility_notifier_2d.h')
-rw-r--r--scene/2d/visibility_notifier_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/visibility_notifier_2d.h b/scene/2d/visibility_notifier_2d.h
index ea3b5df37b..3d1701a1e5 100644
--- a/scene/2d/visibility_notifier_2d.h
+++ b/scene/2d/visibility_notifier_2d.h
@@ -85,7 +85,7 @@ protected:
virtual void _screen_enter() override;
virtual void _screen_exit() override;
- bool visible;
+ bool visible = false;
void _find_nodes(Node *p_node);