[GDExtension] Fix _property_can_revert and _property_get_revert methods using incorrect string type.

This commit is contained in:
bruvzg 2022-08-22 12:43:14 +03:00
parent 14f8a54a33
commit 56101080cc
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 6 additions and 6 deletions

View file

@ -113,11 +113,11 @@ class SectionedInspectorFilter : public Object {
}
}
bool property_can_revert(const String &p_name) {
bool property_can_revert(const StringName &p_name) {
return edited->property_can_revert(section + "/" + p_name);
}
Variant property_get_revert(const String &p_name) {
Variant property_get_revert(const StringName &p_name) {
return edited->property_get_revert(section + "/" + p_name);
}