Update renderConfig.cpp
parent
702098c8d0
commit
ab5356bec6
|
@ -149,8 +149,15 @@ std::string PlumageConfig::PlumageConfiguration::setFilePathFromToml(toml::value
|
|||
{
|
||||
std::filesystem::path assetPath = getAssetPath();
|
||||
assetPath += filesystemConfigFilePath;
|
||||
if (std::filesystem::exists(assetPath))
|
||||
{
|
||||
return assetPath.generic_string();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue