From 0ae4298a3a2f9201e0a23f2503f6e36ad4103bbe Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:47:37 +0200 Subject: [PATCH] Fix invalid inheritance of `OccluderInstance3D` --- doc/classes/OccluderInstance3D.xml | 2 +- scene/3d/occluder_instance_3d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/OccluderInstance3D.xml b/doc/classes/OccluderInstance3D.xml index 1c3477e4b27f..6f45d7224953 100644 --- a/doc/classes/OccluderInstance3D.xml +++ b/doc/classes/OccluderInstance3D.xml @@ -1,5 +1,5 @@ - + Provides occlusion culling for 3D nodes, which improves performance in closed areas. diff --git a/scene/3d/occluder_instance_3d.h b/scene/3d/occluder_instance_3d.h index f607877e8f24..91445710b350 100644 --- a/scene/3d/occluder_instance_3d.h +++ b/scene/3d/occluder_instance_3d.h @@ -161,7 +161,7 @@ class PolygonOccluder3D : public Occluder3D { }; class OccluderInstance3D : public VisualInstance3D { - GDCLASS(OccluderInstance3D, Node3D); + GDCLASS(OccluderInstance3D, VisualInstance3D); private: Ref occluder;