Skip to content
Snippets Groups Projects
Commit db9b394c authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix

parent 85afb82d
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -472,12 +472,12 @@ bool ALRenderUtil::setupColorGrade()
{
std::string lut_path = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "colorlut", lut_name);
if(lut_path.empty())
if(!LLFile::isfile(lut_path))
{
lut_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "colorlut", lut_name);
}
if (!lut_path.empty())
if (LLFile::isfile(lut_path))
{
std::string temp_exten = gDirUtilp->getExtension(lut_path);
bool decode_success = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment