diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2012-03-21 17:51:30 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2012-03-21 17:51:30 -0400 |
commit | 1731894cb42fdbf0bb5bd2e96fe20e2252d1026f (patch) | |
tree | d4fff43a91b9b2d71f0eea39a7f650d2761cc49a /indra/newview/llvoavatarself.h | |
parent | c36acfdc83db294f5832a71854b4c7a25a3bd2fa (diff) |
SH-3041 WIP Utilizing early object update texture data
Caching the mapping between baked texture hashes and UUIDs should be
able to be avoided if the initial texture data sent down is accuate.
This patch will use the first objectupdate message sent for your own
avatar to set the baked texture UUIDs for your avatar. These appear
to match the UUIDs sent from the hash lookup.
Testing needed to verify that you can successfully decloud before
the server sends you the hash lookup response, if your bakes are
cached locally.
Diffstat (limited to 'indra/newview/llvoavatarself.h')
-rwxr-xr-x | indra/newview/llvoavatarself.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.h b/indra/newview/llvoavatarself.h index fc1b602764..17cdd514cc 100755 --- a/indra/newview/llvoavatarself.h +++ b/indra/newview/llvoavatarself.h @@ -93,15 +93,27 @@ public: /*virtual*/ void updateVisualParams(); /*virtual*/ void idleUpdateAppearanceAnimation(); + /*virtual*/ U32 processUpdateMessage(LLMessageSystem *mesgsys, + void **user_data, + U32 block_num, + const EObjectUpdateType update_type, + LLDataPacker *dp); + private: // helper function. Passed in param is assumed to be in avatar's parameter list. BOOL setParamWeight(LLViewerVisualParam *param, F32 weight, BOOL upload_bake = FALSE ); + /** Initialization ** ** *******************************************************************************/ +private: + LLUUID mInitialBakeIDs[6]; + bool mInitialBakesLoaded; + + /******************************************************************************** ** ** ** STATE |