Added checks for path exist and bin and obj folders when building directory for asset browser
This commit is contained in:
parent
557a198367
commit
9e0bc0bbc9
|
@ -130,6 +130,14 @@ namespace SHADE
|
|||
}
|
||||
|
||||
// If item is folder
|
||||
if (path.stem().string() == "bin"
|
||||
|| path.stem().string() == "obj"
|
||||
|| !std::filesystem::exists(path))
|
||||
{
|
||||
SHLOG_INFO("[FileSystem] Skipped paths in directory building: {}", path.string());
|
||||
continue;
|
||||
}
|
||||
|
||||
auto newFolder{ folder->CreateSubFolderHere(path.stem().string()) };
|
||||
folderStack.push(newFolder);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue