(&self, key: u32)
| 2739 | let filters = editor_asset_filters(kind); |
| 2740 | state |
| 2741 | .file_paths |
| 2742 | .iter() |
| 2743 | .filter(|path| { |
| 2744 | !path.ends_with('/') |
| 2745 | && inspector_asset_path_matches(path, filters) |
| 2746 | && (filter.is_empty() || file_path_matches_filter(path, &filter)) |
| 2747 | }) |
| 2748 | .map(|path| { |
| 2749 | let value = inspector_asset_picker_value(path, kind, state.active_glb_mesh_index); |
| 2750 | let label = format!( |
| 2751 | "{} {}", |
| 2752 | editor_files::display_kind_label(path), |
| 2753 | editor_view::short_path(&value, 34) |
no test coverage detected