Commit 6a5100ba authored by NiranV's avatar NiranV
Browse files

Fixed: Potential crashfix for startup crash due to invalid environment asset.

parent d638162f
......@@ -1559,6 +1559,9 @@ void LLEnvironment::updateGLVariablesForSettings(LLGLSLShader *shader, const LLS
{
LL_RECORD_BLOCK_TIME(FTM_SHADER_PARAM_UPDATE);
if (!psetting)
return;
//_WARNS("RIDER") << "----------------------------------------------------------------" << LL_ENDL;
LLSettingsBase::parammapping_t params = psetting->getParameterMap();
for (auto &it: params)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment