added list_orphan_nodes, edited print_orphan_nodes

print_orphan_nodes now prints the script file attached to the node.
list_orphan_nodes was created to return the same data as print_orphan_nodes in a dictionary format for users who wish to process this data differently than the print_orphan_nodes behavior.
This commit is contained in:
Haunted Bees
2023-10-20 21:30:21 -07:00
parent 1b4ed4c038
commit 0ccdcb4a16
3 changed files with 36 additions and 1 deletions

View File

@@ -742,6 +742,7 @@ public:
ProcessThreadGroup get_process_thread_group() const;
static void print_orphan_nodes();
static TypedArray<int> get_orphan_node_ids();
#ifdef TOOLS_ENABLED
String validate_child_name(Node *p_child);