diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-22 21:39:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 21:39:48 +0200 |
commit | 1f61d477662fdbbb43cd3703aaac2d25d1c19e3a (patch) | |
tree | 645c01e9ca1dfa17e7cc37bcfe2697f30125bcb1 /scene/2d/polygon_2d.cpp | |
parent | 5bc8702855a92940bb5a56dd28660c86ee5c7b7a (diff) | |
parent | 1a24c9e14bf1f9578eda338344c12faf66fb0e65 (diff) |
Merge pull request #64339 from YuriSizov/core-multilevel-validate-property
Diffstat (limited to 'scene/2d/polygon_2d.cpp')
-rw-r--r-- | scene/2d/polygon_2d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/polygon_2d.cpp b/scene/2d/polygon_2d.cpp index ba62941d3a..cb918ecb8b 100644 --- a/scene/2d/polygon_2d.cpp +++ b/scene/2d/polygon_2d.cpp @@ -90,9 +90,9 @@ bool Polygon2D::_edit_is_selected_on_click(const Point2 &p_point, double p_toler } #endif -void Polygon2D::_validate_property(PropertyInfo &property) const { - if (!invert && property.name == "invert_border") { - property.usage = PROPERTY_USAGE_NO_EDITOR; +void Polygon2D::_validate_property(PropertyInfo &p_property) const { + if (!invert && p_property.name == "invert_border") { + p_property.usage = PROPERTY_USAGE_NO_EDITOR; } } |