(root: &str, res_path: &str)
| 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) |