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

Function res_to_abs

perro_editor/res/scripts/ui/editor_ui.rs:3552–3559  ·  view source on GitHub ↗
(root: &str, res_path: &str)

Source from the content-addressed store, hash-verified

3550 return cached.paths.clone();
3551 }
3552
3553 let filter = NodePickerFilter::parse(&state.file_filter);
3554 let mut paths = state
3555 .file_paths
3556 .iter()
3557 .filter(|path| {
3558 if state.activity_mode == "glb" && !is_gltf_path(path) {
3559 return false;
3560 }
3561 let visible = if filter.is_empty() && state.activity_mode != "glb" {
3562 file_path_tree_visible(path, &state.file_expanded_paths)

Callers 15

asset_inspector_textFunction · 0.70
text_asset_previewFunction · 0.70
panim_summaryFunction · 0.70
script_schema_for_nodeFunction · 0.70
open_scene_pathFunction · 0.50
open_animation_pathFunction · 0.50

Calls 1

joinMethod · 0.80