Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.32 KB | None | 0 0
  1. void LLVOAvatar::wearableUpdated(EWearableType type, BOOL upload_result)
  2. {
  3.     for (LLVOAvatarDictionary::wearable_map_t::const_iterator wearable_iter = LLVOAvatarDictionary::getInstance()->getWearables().begin();
  4.         wearable_iter != LLVOAvatarDictionary::getInstance()->getWearables().end();
  5.         wearable_iter++)
  6.     {
  7.         const LLVOAvatarDictionary::WearableDictionaryEntry *wearable_dict = wearable_iter->second;
  8.         const LLVOAvatarDefines::EBakedTextureIndex index = wearable_iter->first;
  9.         if (wearable_dict)
  10.         {
  11.             for (LLVOAvatarDefines::wearables_vec_t::const_iterator type_iter = wearable_dict->mWearablesVec.begin();
  12.                 type_iter != wearable_dict->mWearablesVec.end();
  13.                 type_iter++)
  14.             {
  15.                 const EWearableType comp_type = *type_iter;
  16.                 if (comp_type == type)
  17.                 {
  18.                     if (mBakedTextureData[index].mTexLayerSet)
  19.                     {
  20.                         //mBakedTextureData[index].mTexLayerSet->requestUpdate();
  21.                         //mBakedTextureData[index].mTexLayerSet->requestUpload();
  22.                         invalidateComposite(mBakedTextureData[index].mTexLayerSet, upload_result);
  23.                         updateMeshTextures();
  24.                     }
  25.                     break;
  26.                 }
  27.             }
  28.         }
  29.     }
  30. }
  31.  
  32.  
  33.  
  34. /// ERROR MESSAGE BELOW
  35.  
  36. Error   1   error C2511: 'void LLVOAvatar::wearableUpdated(EWearableType,BOOL)' : overloaded member function not found in 'LLVOAvatar'  c:\Emerald_Source_Alpha\indra\newview\llvoavatar.cpp    8403
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement