From b18a553a06bc15b1247068a0ec3537ae55fdd697 Mon Sep 17 00:00:00 2001 From: Arthur J <59916285+OvercookedRoach@users.noreply.github.com> Date: Fri, 7 Oct 2022 18:36:37 -0300 Subject: declare "_validate_property" as protected In other classes, the function _validate_property is declared as protected (in the case of Area2D), but in Area3D it's declared as private, which causes compile errors when trying to extend the class in a C++ module for example. --- scene/3d/area_3d.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scene') diff --git a/scene/3d/area_3d.h b/scene/3d/area_3d.h index 0f0bcc7ce0..2125c35f67 100644 --- a/scene/3d/area_3d.h +++ b/scene/3d/area_3d.h @@ -141,13 +141,12 @@ private: float reverb_amount = 0.0; float reverb_uniformity = 0.0; - void _validate_property(PropertyInfo &p_property) const; - void _initialize_wind(); protected: void _notification(int p_what); static void _bind_methods(); + void _validate_property(PropertyInfo &p_property) const; public: void set_gravity_space_override_mode(SpaceOverride p_mode); -- cgit v1.2.3