@@ -3436,20 +3436,6 @@ void Node::queue_free() {
34363436 }
34373437}
34383438
3439- void Node::set_import_path (const NodePath &p_import_path) {
3440- #ifdef TOOLS_ENABLED
3441- data.import_path = p_import_path;
3442- #endif
3443- }
3444-
3445- NodePath Node::get_import_path () const {
3446- #ifdef TOOLS_ENABLED
3447- return data.import_path ;
3448- #else
3449- return NodePath ();
3450- #endif
3451- }
3452-
34533439#ifdef TOOLS_ENABLED
34543440static void _add_nodes_to_options (const Node *p_base, const Node *p_node, List<String> *r_options) {
34553441 if (p_node != p_base && !p_node->get_owner ()) {
@@ -3853,9 +3839,6 @@ void Node::_bind_methods() {
38533839 ClassDB::bind_method (D_METHOD (" set_editor_description" , " editor_description" ), &Node::set_editor_description);
38543840 ClassDB::bind_method (D_METHOD (" get_editor_description" ), &Node::get_editor_description);
38553841
3856- ClassDB::bind_method (D_METHOD (" _set_import_path" , " import_path" ), &Node::set_import_path);
3857- ClassDB::bind_method (D_METHOD (" _get_import_path" ), &Node::get_import_path);
3858-
38593842 ClassDB::bind_method (D_METHOD (" set_unique_name_in_owner" , " enable" ), &Node::set_unique_name_in_owner);
38603843 ClassDB::bind_method (D_METHOD (" is_unique_name_in_owner" ), &Node::is_unique_name_in_owner);
38613844
@@ -3866,8 +3849,6 @@ void Node::_bind_methods() {
38663849 ClassDB::bind_method (D_METHOD (" _set_property_pinned" , " property" , " pinned" ), &Node::set_property_pinned);
38673850#endif
38683851
3869- ADD_PROPERTY (PropertyInfo (Variant::NODE_PATH, " _import_path" , PROPERTY_HINT_NONE, " " , PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), " _set_import_path" , " _get_import_path" );
3870-
38713852 {
38723853 MethodInfo mi;
38733854
0 commit comments