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

Function scene_row_disclosure

perro_editor/res/scripts/ui/editor_ui.rs:2987–2995  ·  view source on GitHub ↗
(children: usize, collapsed: bool)

Source from the content-addressed store, hash-verified

2985 total - users.len()
2986 )
2987 } else {
2988 format!("users: {total}\n{}", users.join("\n"))
2989 }
2990}
2991
2992pub fn asset_detail_text(state: &EditorState, path: &str, kind: &str) -> String {
2993 if path.ends_with(".glb") || path.ends_with(".gltf") {
2994 return if state.active_glb_path == path && !state.active_glb_summary.is_empty() {
2995 state.active_glb_summary.clone()
2996 } else {
2997 "GLB asset\nopen row -> inspect meshes/materials/animations".to_string()
2998 };

Callers 2

push_scene_tree_rowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected