| 387 | } |
| 388 | |
| 389 | void NodeDiffResult::get_child_node_paths(Node *node_a, HashSet<NodePath> &paths, const String &curr_path) { |
| 390 | for (int i = 0; i < node_a->get_child_count(); i++) { |
| 391 | auto child_a = node_a->get_child(i); |
| 392 | auto new_path = curr_path.path_join(child_a->get_name()); |
| 393 | paths.insert(new_path); |
| 394 | get_child_node_paths(child_a, paths, new_path); |
| 395 | } |
| 396 | } |
| 397 | |
| 398 | Ref<NodeDiffResult> NodeDiffResult::evaluate_node_differences(Node *scene1, Node *scene2, const NodePath &path, const Dictionary &p_structured_changes) { |
| 399 | Ref<NodeDiffResult> result; |