From 7be50ad3a578ba8ffc55f664640195a985e29b71 Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Mon, 24 May 2010 16:16:28 -0400 Subject: AVP-60 EXT-7366 EXT-7209 WIP Camera views not correct when editing wearable Added code to shift camera focus to appropriate section of the avatar when wearable editor accordion tabs are expanded / collapsed. Known issue: camera does not shift properly when first opening wearable editor. Will implement a selectDefaultSubpart() function later. Code reviewed by Prep --- indra/newview/llpaneleditwearable.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llpaneleditwearable.h') diff --git a/indra/newview/llpaneleditwearable.h b/indra/newview/llpaneleditwearable.h index 04839ca451..6f9ac82407 100644 --- a/indra/newview/llpaneleditwearable.h +++ b/indra/newview/llpaneleditwearable.h @@ -66,6 +66,8 @@ public: static void onRevertButtonClicked(void* userdata); void onCommitSexChange(); + void onTabExpandedCollapsed(const LLSD& param, U8 index); + private: typedef std::map value_map_t; -- cgit v1.2.3