Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.52 KB | None | 0 0
  1. //void LLVOAvatar::wearableUpdated( EWearableType type )    ----  ##### REPLACED WITH THE LINE BELOW #####
  2. void LLVOAvatar::wearableUpdated(EWearableType type, BOOL upload_result)
  3. {
  4.     for (LLVOAvatarDictionary::wearable_map_t::const_iterator wearable_iter = LLVOAvatarDictionary::getInstance()->getWearables().begin();
  5.         wearable_iter != LLVOAvatarDictionary::getInstance()->getWearables().end();
  6.         wearable_iter++)
  7.     {
  8.         const LLVOAvatarDictionary::WearableDictionaryEntry *wearable_dict = wearable_iter->second;
  9.         const LLVOAvatarDefines::EBakedTextureIndex index = wearable_iter->first;
  10.         if (wearable_dict)
  11.         {
  12.             for (LLVOAvatarDefines::wearables_vec_t::const_iterator type_iter = wearable_dict->mWearablesVec.begin();
  13.                 type_iter != wearable_dict->mWearablesVec.end();
  14.                 type_iter++)
  15.             {
  16.                 const EWearableType comp_type = *type_iter;
  17.                 if (comp_type == type)
  18.                 {
  19.                     if (mBakedTextureData[index].mTexLayerSet)
  20.                     {
  21.                         //mBakedTextureData[index].mTexLayerSet->requestUpdate();  ----  ##### REPLACED WITH THE LINES BELOW #####
  22.                         //mBakedTextureData[index].mTexLayerSet->requestUpload(); ----  ##### REPLACED WITH THE LINES BELOW #####
  23.                         invalidateComposite(mBakedTextureData[index].mTexLayerSet, upload_result);
  24.                         updateMeshTextures();
  25.                     }
  26.                     break;
  27.                 }
  28.             }
  29.         }
  30.     }
  31. }
  32.  
  33.  
  34.  
  35. /// ERROR MESSAGE BELOW
  36.  
  37. 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