summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2013-07-02 16:04:31 -0700
committersimon <none@none>2013-07-02 16:04:31 -0700
commitf41c8f53412b3ca8500e72d9cde8e70ca0bc266e (patch)
treeddd78feaf6059d3ac2149b4f91eb39044a08ceec /indra/newview/llvoavatar.cpp
parent9e5b4db92883bf27dc49d4c4af948ca0048f143c (diff)
MAINT-2808 Viewer side : Stats for OBJECT_ATTACHMENT_GEOMETRY_BYTES and OBJECT_ATTACHMENT_SURFACE_AREA
do not return to the 'no attachments' values after avatar removes last attachment
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 1aa38e6bfa..0ffd8ad119 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -667,8 +667,8 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id,
LLAvatarAppearance(&gAgentWearables),
LLViewerObject(id, pcode, regionp),
mSpecialRenderMode(0),
- mAttachmentGeometryBytes(0),
- mAttachmentSurfaceArea(0.f),
+ mAttachmentGeometryBytes(-1),
+ mAttachmentSurfaceArea(-1.f),
mReportedVisualComplexity(-1),
mReportedAttachmentGeometryBytes(-1),
mReportedAttachmentSurfaceArea(-1.f),