MAINT-1204 Fix for crash on selecting a texture anywhere other than the build tools.
parent
8a7fa77f23
commit
7f38f620fd
|
|
@ -819,7 +819,10 @@ void LLFloaterTexturePicker::onSelectionChange(const std::deque<LLFolderViewItem
|
|||
mNoCopyTextureSelected = FALSE;
|
||||
if (itemp)
|
||||
{
|
||||
mTextureSelectedCallback(itemp);
|
||||
if (!mTextureSelectedCallback.empty())
|
||||
{
|
||||
mTextureSelectedCallback(itemp);
|
||||
}
|
||||
if (!itemp->getPermissions().allowCopyBy(gAgent.getID()))
|
||||
{
|
||||
mNoCopyTextureSelected = TRUE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue