Made material resource file editable from engine

This commit is contained in:
antopilo
2022-06-29 18:05:59 -04:00
parent 407ff89df7
commit 162966eeb0
24 changed files with 571 additions and 194 deletions

View File

@@ -212,7 +212,7 @@ namespace Nuake
}
std::string texturePath = FileSystem::Root + modelDir + path;
if (!FileSystem::FileExists(texturePath))
if (!FileSystem::FileExists(texturePath, true))
{
std::string textureNotFoundmsg = "Texture file couldn't be found: " + texturePath;
Logger::Log(textureNotFoundmsg, Nuake::LOG_TYPE::WARNING);