Commits

davep committed bce218b

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

  • Participants
  • Parent commits f91d003
  • Tags DRTVWR-173

Comments (0)

Files changed (1)

indra/newview/lltexturectrl.cpp

 		mNoCopyTextureSelected = FALSE;
 		if (itemp)
 		{
-			mTextureSelectedCallback(itemp);
+			if (!mTextureSelectedCallback.empty())
+			{
+				mTextureSelectedCallback(itemp);
+			}
 			if (!itemp->getPermissions().allowCopyBy(gAgent.getID()))
 			{
 				mNoCopyTextureSelected = TRUE;