Merge pull request #24679 from Chaosus/fix_not_found1

Fix "Method not found" error message when script is removed from object
This commit is contained in:
Rémi Verschelde 2018-12-31 11:14:39 +01:00 committed by GitHub
commit 89560c2138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4654,6 +4654,8 @@ void EditorNode::_bind_methods() {
ClassDB::bind_method("edit_node", &EditorNode::edit_node);
ClassDB::bind_method("_unhandled_input", &EditorNode::_unhandled_input);
ClassDB::bind_method(D_METHOD("push_item", "object", "property", "inspector_only"), &EditorNode::push_item, DEFVAL(""), DEFVAL(false));
ClassDB::bind_method("_get_scene_metadata", &EditorNode::_get_scene_metadata);
ClassDB::bind_method("set_edited_scene", &EditorNode::set_edited_scene);
ClassDB::bind_method("open_request", &EditorNode::open_request);