From 7eb6ae279848e8300431cfe925be70fa7ffd7299 Mon Sep 17 00:00:00 2001 From: Lyuma Date: Sun, 22 Aug 2021 19:18:29 -0700 Subject: Make Node editable_instance methods available to GDScript --- scene/main/node.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/main') 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); -- cgit v1.2.3