MCPcopy Create free account
hub / github.com/PerroEngine/Perro / scene_node_has_children

Function scene_node_has_children

perro_editor/res/scripts/scene/editor_nodes.rs:403–408  ·  view source on GitHub ↗
(doc: &SceneDoc, key: u32)

Source from the content-addressed store, hash-verified

401 let doc = cached_scene_doc_shared(&state.doc_text);
402 let Some(node) = cached_scene_node(&state.doc_text, key) else {
403 state.log = "node path fail\nmissing node".to_string();
404 return;
405 };
406 state.log = format!("node path\n{}", scene_node_path(&doc, node.key));
407 });
408 refresh_all(ctx);
409}
410
411pub fn scene_node_has_children(doc: &SceneDoc, key: u32) -> bool {

Callers

nothing calls this directly

Calls 3

anyMethod · 0.80
iterMethod · 0.45
as_u32Method · 0.45

Tested by

no test coverage detected