diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-08-18 19:16:08 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2011-08-18 19:16:08 -0400 |
commit | cfe0a3cbe445900574b82e8c843bddc347f1b269 (patch) | |
tree | 32d0df4dd36b84d665ed7aa94b74aa11e3a6645a /indra/newview/llvoavatar.cpp | |
parent | 1f97cca85678a8b79d718aeb2de8590eb3865076 (diff) |
BUILDFIX SH-1246 fixed a bug in the ARC computations, and texture cost computations in build tools
Minor bug in ARC display computations, where wrong numbers were being used for child prims
Feature enhancement to not double-count textures reused within a linkset.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index c77c4f167b..2efc9060dd 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -8354,6 +8354,7 @@ void LLVOAvatar::idleUpdateRenderCost() } } + for (attachment_map_t::const_iterator iter = mAttachmentPoints.begin(); iter != mAttachmentPoints.end(); ++iter) @@ -8384,7 +8385,7 @@ void LLVOAvatar::idleUpdateRenderCost() LLVOVolume *child = dynamic_cast<LLVOVolume*>( child_obj ); if (child) { - cost += volume->getRenderCost(textures); + cost += child->getRenderCost(textures); } } |