diff options
author | Eli Linden <eli@lindenlab.com> | 2010-06-03 14:33:36 -0700 |
---|---|---|
committer | Eli Linden <eli@lindenlab.com> | 2010-06-03 14:33:36 -0700 |
commit | fbee0d8ef1cfd97c2ef52398d19d038c145bae67 (patch) | |
tree | 9eecdbde01e4cc531169568c70b3859a3c7d5159 /indra/newview/llvoavatarself.cpp | |
parent | 2d93672587e6f5ca46e06d768a1f6f9df4ebac37 (diff) | |
parent | e2b8c1c699f75e234776beda939205a247fb1bc3 (diff) |
Merge
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r-- | indra/newview/llvoavatarself.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index ce8f64404e..462c442954 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -1328,6 +1328,15 @@ BOOL LLVOAvatarSelf::isAllLocalTextureDataFinal() const return TRUE; } +BOOL LLVOAvatarSelf::isBakedTextureFinal(const LLVOAvatarDefines::EBakedTextureIndex index) const +{ + const LLTexLayerSet *layerset = mBakedTextureDatas[index].mTexLayerSet; + if (!layerset) return FALSE; + const LLTexLayerSetBuffer *layerset_buffer = layerset->getComposite(); + if (!layerset_buffer) return FALSE; + return !layerset_buffer->uploadPending(); +} + BOOL LLVOAvatarSelf::isTextureDefined(LLVOAvatarDefines::ETextureIndex type, U32 index) const { LLUUID id; |