diff options
author | Lyuma <xn.lyuma@gmail.com> | 2021-08-22 19:18:29 -0700 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2021-08-23 21:45:18 -0700 |
commit | 7eb6ae279848e8300431cfe925be70fa7ffd7299 (patch) | |
tree | 5018d3b50259dc4cdefec5824a104a3ed12c35dd /scene/main | |
parent | b4cea107712b12ca6874fca189eef89cd37b30d7 (diff) |
Make Node editable_instance methods available to GDScript
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 1d617d1ff7..de36fe4104 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2616,6 +2616,8 @@ void Node::_bind_methods() { ClassDB::bind_method(D_METHOD("set_scene_instance_load_placeholder", "load_placeholder"), &Node::set_scene_instance_load_placeholder); ClassDB::bind_method(D_METHOD("get_scene_instance_load_placeholder"), &Node::get_scene_instance_load_placeholder); + ClassDB::bind_method(D_METHOD("set_editable_instance", "node", "is_editable"), &Node::set_editable_instance); + ClassDB::bind_method(D_METHOD("is_editable_instance", "node"), &Node::is_editable_instance); ClassDB::bind_method(D_METHOD("get_viewport"), &Node::get_viewport); |