resource manager filedata retention changes (#857)

This commit is contained in:
Turánszki János
2024-06-06 09:18:42 +02:00
committed by GitHub
parent e631268768
commit a988218755
21 changed files with 141 additions and 119 deletions
+3
View File
@@ -357,6 +357,9 @@ void ContentBrowserWindow::AddItem(const std::string& filename, const std::strin
{
static const XMFLOAT2 siz = XMFLOAT2(240, 120);
if (!wi::helper::FileExists(filename))
return;
std::string itemname = wi::helper::GetFileNameFromPath(filename);
std::string foldername = wi::helper::GetDirectoryFromPath(filename);
std::string ext = wi::helper::toUpper(wi::helper::GetExtensionFromFileName(filename));