1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Make Node editable_instance methods available to GDScript

(cherry picked from commit 7eb6ae2798)
This commit is contained in:
Lyuma
2021-08-22 19:18:29 -07:00
committed by Haoyu Qiu
parent 1b607b04b4
commit 099e90e00d
2 changed files with 19 additions and 2 deletions

View File

@@ -3078,6 +3078,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);