summaryrefslogtreecommitdiff
path: root/scene/3d/visibility_notifier_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/visibility_notifier_3d.h')
-rw-r--r--scene/3d/visibility_notifier_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/visibility_notifier_3d.h b/scene/3d/visibility_notifier_3d.h
index d566b7e40b..9f7705067f 100644
--- a/scene/3d/visibility_notifier_3d.h
+++ b/scene/3d/visibility_notifier_3d.h
@@ -41,7 +41,7 @@ class VisibilityNotifier3D : public Node3D {
Ref<World3D> world;
Set<Camera3D *> cameras;
- AABB aabb;
+ AABB aabb = AABB(Vector3(-1, -1, -1), Vector3(2, 2, 2));
protected:
virtual void _screen_enter() {}
@@ -76,7 +76,7 @@ protected:
virtual void _screen_enter() override;
virtual void _screen_exit() override;
- bool visible;
+ bool visible = false;
void _find_nodes(Node *p_node);