diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-24 08:31:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 08:31:34 -0300 |
commit | 6609ce1944fe6113f005a38c8471eeb66c2ff8fa (patch) | |
tree | 13b0eaf7ee75281966b26cbf717b6ce4843847fb /scene/main | |
parent | e95fa21b455a5e2c512fe6e054f86df1f01e5bd3 (diff) | |
parent | 7eb6ae279848e8300431cfe925be70fa7ffd7299 (diff) |
Merge pull request #52000 from lyuma/set_editable_instance
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 4ea4579bf9..9fce00be60 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2652,6 +2652,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); |