summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-11-29 18:55:26 +0300
committerYuri Sizov <yuris@humnom.net>2022-11-29 23:07:40 +0300
commita9961b378a5ad79d410be6f5a05efb33c105293d (patch)
tree677454a974b9e675ebfb9be645887e75e7929aeb /core
parentd930b308836af09ea3e3bf4b689ac436977db940 (diff)
Add missing public property_*_revert getters
Diffstat (limited to 'core')
-rw-r--r--core/object/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/object/object.cpp b/core/object/object.cpp
index d27e0d7621..105f9560d6 100644
--- a/core/object/object.cpp
+++ b/core/object/object.cpp
@@ -1473,6 +1473,8 @@ void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_indexed", "property_path"), &Object::_get_indexed_bind);
ClassDB::bind_method(D_METHOD("get_property_list"), &Object::_get_property_list_bind);
ClassDB::bind_method(D_METHOD("get_method_list"), &Object::_get_method_list_bind);
+ ClassDB::bind_method(D_METHOD("property_can_revert", "property"), &Object::property_can_revert);
+ ClassDB::bind_method(D_METHOD("property_get_revert", "property"), &Object::property_get_revert);
ClassDB::bind_method(D_METHOD("notification", "what", "reversed"), &Object::notification, DEFVAL(false));
ClassDB::bind_method(D_METHOD("to_string"), &Object::to_string);
ClassDB::bind_method(D_METHOD("get_instance_id"), &Object::get_instance_id);