Innitial commit. Majority of texture baking moved into LLVOAvatarSelf. Very WIP. Not advisable to build off of this, although it does compile and mostly work.

This commit is contained in:
Shyotl
2011-10-22 20:36:04 -05:00
parent 0fde15246b
commit 722e7d09ff
27 changed files with 2018 additions and 1968 deletions

View File

@@ -650,7 +650,7 @@ void LLWearable::writeToAvatar( BOOL set_by_user )
{
const LLUUID& image_id = get_if_there(mTEMap, te, LLVOAvatarDictionary::getDefaultTextureImageID((ETextureIndex) te ) );
LLViewerTexture* image = LLViewerTextureManager::getFetchedTexture( image_id );
gAgentAvatarp->setLocTexTE( te, image, set_by_user );
gAgentAvatarp->setLocalTextureTE( te, image, set_by_user );
}
}
@@ -720,7 +720,7 @@ void LLWearable::removeFromAvatar( LLWearableType::EType type, BOOL upload_bake
{
if( LLVOAvatarDictionary::getTEWearableType((ETextureIndex) te ) == type )
{
gAgentAvatarp->setLocTexTE( te, image, upload_bake );
gAgentAvatarp->setLocalTextureTE( te, image, upload_bake );
}
}