summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-15 18:41:55 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-10-15 18:41:55 -0400
commit22f53c85588912582f33d840d106b10f54f2c62d (patch)
treeca7dc2c670c1a854b2470f918327d2186d75e42f /indra/newview/llvoavatarself.cpp
parent08f58ac3fdc89209b7bfbdf009803e75815505f4 (diff)
additional debugging info, including tracking where visual params live
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index e4fb1ebf88..667eedd0c8 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -2654,7 +2654,14 @@ void LLVOAvatarSelf::onCustomizeStart(bool disable_camera_switch)
gAgentCamera.changeCameraToCustomizeAvatar();
}
+ bool enable_verbose_dumps = gSavedSettings.getBOOL("DebugAvatarAppearanceMessage");
+ std::string dump_prefix = gAgentAvatarp->getFullname() + "_" + (gAgentAvatarp->isSelf()?"s":"o") + "_";
+ if (enable_verbose_dumps) { gAgentAvatarp->dumpArchetypeXML(dump_prefix + "on_customize_start"); }
gAgentAvatarp->clearVisualParamWeights();
+ if (enable_verbose_dumps) { gAgentAvatarp->dumpArchetypeXML(dump_prefix + "on_customize_post_clear"); }
+ gAgentAvatarp->idleUpdateAppearanceAnimation();
+ if (enable_verbose_dumps) { gAgentAvatarp->dumpArchetypeXML(dump_prefix + "on_customize_post_update"); }
+
gAgentAvatarp->invalidateAll();
gAgentAvatarp->updateMeshTextures();
}