Skip to content
Snippets Groups Projects
Commit 7f38f620 authored by David Parks's avatar David Parks
Browse files

MAINT-1204 Fix for crash on selecting a texture anywhere other than the build tools.

parent 8a7fa77f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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