MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_child_node_paths

Method get_child_node_paths

utility/diff_result.cpp:389–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389void 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
398Ref<NodeDiffResult> NodeDiffResult::evaluate_node_differences(Node *scene1, Node *scene2, const NodePath &path, const Dictionary &p_structured_changes) {
399 Ref<NodeDiffResult> result;

Callers

nothing calls this directly

Calls 2

get_nameMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected