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