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.
This commit is contained in:
parent
18177828ad
commit
b18a553a06
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue