mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change: log where we locate assets for debugging
This commit is contained in:
parent
3be0cf913b
commit
ec67979a45
@ -316,12 +316,17 @@ lazy_static! {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tracing::trace!("Possible asset locations paths={:?}", paths);
|
||||||
|
|
||||||
for path in paths.clone() {
|
for path in paths.clone() {
|
||||||
match find_folder::Search::ParentsThenKids(3, 1)
|
match find_folder::Search::ParentsThenKids(3, 1)
|
||||||
.of(path)
|
.of(path)
|
||||||
.for_folder("assets")
|
.for_folder("assets")
|
||||||
{
|
{
|
||||||
Ok(assets_path) => return assets_path,
|
Ok(assets_path) => {
|
||||||
|
tracing::info!("Assets located path={}", assets_path.display());
|
||||||
|
return assets_path;
|
||||||
|
},
|
||||||
Err(_) => continue,
|
Err(_) => continue,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user