Probably the real fix for isLightSpotlight() - PARAMS_LIGHT_IMAGE isn't guaranteed, duh.
parent
bc9096bea2
commit
84ffc72c01
|
|
@ -2454,7 +2454,11 @@ void LLVOVolume::updateSpotLightPriority()
|
|||
bool LLVOVolume::isLightSpotlight() const
|
||||
{
|
||||
LLLightImageParams* params = (LLLightImageParams*) getParameterEntry(LLNetworkData::PARAMS_LIGHT_IMAGE);
|
||||
return params->isLightSpotlight();
|
||||
if (params)
|
||||
{
|
||||
return params->isLightSpotlight();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue