SL-20366 Crash at setTETextureCore
parent
ee07a128b1
commit
cd32a40195
|
|
@ -4933,7 +4933,7 @@ void LLViewerObject::setTEImage(const U8 te, LLViewerTexture *imagep)
|
|||
S32 LLViewerObject::setTETextureCore(const U8 te, LLViewerTexture *image)
|
||||
{
|
||||
LLUUID old_image_id = getTE(te)->getID();
|
||||
const LLUUID& uuid = image->getID();
|
||||
const LLUUID& uuid = image ? image->getID() : LLUUID::null;
|
||||
S32 retval = 0;
|
||||
if (uuid != getTE(te)->getID() ||
|
||||
uuid == LLUUID::null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue