(children: usize, collapsed: bool)
| 2985 | total - users.len() |
| 2986 | ) |
| 2987 | } else { |
| 2988 | format!("users: {total}\n{}", users.join("\n")) |
| 2989 | } |
| 2990 | } |
| 2991 | |
| 2992 | pub 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 | }; |
no outgoing calls
no test coverage detected