From 07e27045f6aebea27f504a79955a7b871a299b6f Mon Sep 17 00:00:00 2001 From: Lis Pardi Date: Tue, 27 Oct 2009 18:47:27 -0400 Subject: ext-1925 dig Push to talk out of 1.23 and reinstate in viewer 2 --- .../default/xui/en/panel_preferences_advanced.xml | 105 ++++++++++++++------- 1 file changed, 69 insertions(+), 36 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml index f42bab14de..258e63ae76 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml @@ -20,8 +20,9 @@ - - - - Aspect Ratio + Aspect ratio - Camera: @@ -128,7 +115,7 @@ Camera: can_edit_text="true" control_name="CameraAngle" decimal_digits="2" - top_pad="10" + top_pad="5" follows="left|top" height="16" increment="0.025" @@ -159,56 +146,62 @@ Camera: name="camera_offset_scale" show_text="false" width="240" - top_pad="10"/> + top_pad="5"/> + width="270" + top_pad="5"> Automatic positioning for: + top_pad="5" /> - Avatars: + top_pad="0"/> + top_pad="5"/> - - + + + + width="100"/> diff --git a/indra/newview/skins/default/xui/en/panel_region_general_layout.xml b/indra/newview/skins/default/xui/en/panel_region_general_layout.xml index 9b9c62dbf9..42297cdc07 100644 --- a/indra/newview/skins/default/xui/en/panel_region_general_layout.xml +++ b/indra/newview/skins/default/xui/en/panel_region_general_layout.xml @@ -299,10 +299,7 @@ left="108" name="apply_btn" top="320" - width="100"> - - + width="100"/> -- cgit v1.2.3 From 25538beb77b66fe6968edcddd6e15a4133ec3564 Mon Sep 17 00:00:00 2001 From: angela Date: Mon, 2 Nov 2009 19:22:19 +0800 Subject: Script Editor: changing Mono checkbox doesn't enable Save button --- indra/newview/llpreviewscript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index ac7abf1448..b391c6ff1d 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -452,7 +452,7 @@ bool LLScriptEdCore::hasChanged() { if (!mEditor) return false; - return !mEditor->isPristine(); + return ((!mEditor->isPristine() || mEnableSave) && mHasScriptData); } void LLScriptEdCore::draw() -- cgit v1.2.3 From e12d1371cc044560fb892d222acc253f7a015f0c Mon Sep 17 00:00:00 2001 From: angela Date: Mon, 2 Nov 2009 20:57:24 +0800 Subject: EXT-1736 [BSI] About Land > Objects > Object Owners list doesn't display names --- indra/newview/llfloaterland.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index bdf9842b01..7ec85f942b 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -1519,7 +1519,9 @@ void LLPanelLandObjects::processParcelObjectOwnersReply(LLMessageSystem *msg, vo } // Placeholder for name. - item_params.columns.add().font(FONT).column("name"); + std::string name; + gCacheName->getFullName(owner_id, name); + item_params.columns.add().value(name).font(FONT).column("name"); object_count_str = llformat("%d", object_count); item_params.columns.add().value(object_count_str).font(FONT).column("count"); -- cgit v1.2.3 From a3f90362cc37dcbb4197d0a1f07127241cf63861 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Mon, 2 Nov 2009 20:23:30 +0200 Subject: no ticket. Fixed warnings of "use_ellipses" parameter. --HG-- branch : product-engine --- indra/newview/skins/default/xui/en/panel_group_info_sidetray.xml | 2 +- indra/newview/skins/default/xui/en/panel_pick_info.xml | 2 +- indra/newview/skins/default/xui/en/panel_profile.xml | 2 +- indra/newview/skins/default/xui/en/panel_profile_view.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_group_info_sidetray.xml b/indra/newview/skins/default/xui/en/panel_group_info_sidetray.xml index d8d47c4008..132c031942 100644 --- a/indra/newview/skins/default/xui/en/panel_group_info_sidetray.xml +++ b/indra/newview/skins/default/xui/en/panel_group_info_sidetray.xml @@ -47,7 +47,7 @@ background_visible="true" text_color="white" top="0" value="(Loading...)" - use_elipsis="true" + use_ellipses="true" width="300" /> Date: Mon, 2 Nov 2009 14:10:56 -0500 Subject: Work in progress on attachment tracking. --- indra/newview/llappearancemgr.cpp | 38 ++++++++++++++++++++++++++++++++++++-- indra/newview/llappearancemgr.h | 6 ++++++ indra/newview/llvoavatarself.cpp | 10 ++++++---- 3 files changed, 48 insertions(+), 6 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 8e1f7775d2..c297f8db29 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -528,7 +528,7 @@ void LLAppearanceManager::shallowCopyCategory(const LLUUID& src_id, const LLUUID { LLInventoryModel::cat_array_t cats; LLInventoryModel::item_array_t items; - gInventory.collectDescendents(getCOF(), cats, items, + gInventory.collectDescendents(category, cats, items, LLInventoryModel::EXCLUDE_TRASH); for (S32 i = 0; i < items.count(); ++i) { @@ -563,7 +563,7 @@ void LLAppearanceManager::shallowCopyCategory(const LLUUID& src_id, const LLUUID S32 size = items_by_type[i].size(); if (size <= 0) continue; - S32 start_index = max(0,size-max_per_type); + S32 start_index = llmax(0,size-max_per_type); for (S32 j = start_index; j LLAppearanceManager::sRegisteredAttachments; + +void dumpAttachmentSet(const std::set& atts, const std::string& msg) +{ + llinfos << msg << llendl; + for (std::set::const_iterator it = atts.begin(); + it != atts.end(); + ++it) + { + LLUUID item_id = *it; + LLViewerInventoryItem *item = gInventory.getItem(item_id); + if (item) + llinfos << "atts " << item->getName() << llendl; + else + llinfos << "atts " << "UNKNOWN[" << item_id.asString() << "]" << llendl; + } + llinfos << llendl; +} + +/* static */ +void LLAppearanceManager::registerAttachment(const LLUUID& item_id) +{ + sRegisteredAttachments.insert(item_id); + dumpAttachmentSet(sRegisteredAttachments,"after register:"); +} + +/* static */ +void LLAppearanceManager::unregisterAttachment(const LLUUID& item_id) +{ + sRegisteredAttachments.erase(item_id); + dumpAttachmentSet(sRegisteredAttachments,"after unregister:"); +} diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h index ea3ebdf4ea..45c6e23bae 100644 --- a/indra/newview/llappearancemgr.h +++ b/indra/newview/llappearancemgr.h @@ -68,6 +68,9 @@ public: // For debugging - could be moved elsewhere. static void dumpCat(const LLUUID& cat_id, const std::string& msg); static void dumpItemArray(const LLInventoryModel::item_array_t& items, const std::string& msg); + static void unregisterAttachment(const LLUUID& item_id); + static void registerAttachment(const LLUUID& item_id); + private: static void filterWearableItems(LLInventoryModel::item_array_t& items, S32 max_per_type); @@ -94,6 +97,9 @@ private: static void checkMandatoryWearableTypes(const LLUUID& category, std::set& types_found); static void purgeCOFBeforeRebuild(const LLUUID& category); static void purgeCategory(const LLUUID& category, bool keep_outfit_links); + + static std::set sRegisteredAttachments; + }; #define SUPPORT_ENSEMBLES 0 diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 758db538a2..44fd81f0d1 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -1080,6 +1080,7 @@ const LLViewerJointAttachment *LLVOAvatarSelf::attachObject(LLViewerObject *view if (attachment->isObjectAttached(viewer_object)) { const LLUUID& attachment_id = viewer_object->getItemID(); + LLAppearanceManager::registerAttachment(attachment_id); LLViewerInventoryItem *item = gInventory.getItem(attachment_id); if (item) { @@ -1096,12 +1097,12 @@ const LLViewerJointAttachment *LLVOAvatarSelf::attachObject(LLViewerObject *view //virtual BOOL LLVOAvatarSelf::detachObject(LLViewerObject *viewer_object) { - const LLUUID item_id = viewer_object->getItemID(); + const LLUUID attachment_id = viewer_object->getItemID(); if (LLVOAvatar::detachObject(viewer_object)) { // the simulator should automatically handle permission revocation - stopMotionFromSource(item_id); + stopMotionFromSource(attachment_id); LLFollowCamMgr::setCameraActive(viewer_object->getID(), FALSE); LLViewerObject::const_child_list_t& child_list = viewer_object->getChildren(); @@ -1127,11 +1128,12 @@ BOOL LLVOAvatarSelf::detachObject(LLViewerObject *viewer_object) else { LLAppearanceManager::dumpCat(LLAppearanceManager::getCOF(),"Removing attachment link:"); - LLAppearanceManager::removeItemLinks(item_id, false); + LLAppearanceManager::removeItemLinks(attachment_id, false); + LLAppearanceManager::unregisterAttachment(attachment_id); } // BAP - needs to change for label to track link. - gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + gInventory.addChangedMask(LLInventoryObserver::LABEL, attachment_id); gInventory.notifyObservers(); return TRUE; } -- cgit v1.2.3 From d4a3ccc52cf0c9113428c71280a9e4d28f781bfd Mon Sep 17 00:00:00 2001 From: Eugene Kondrashev Date: Mon, 2 Nov 2009 21:27:37 +0200 Subject: Fixed normal bug EXT-957-IM Verb button missing --HG-- branch : product-engine --- indra/newview/llpanelimcontrolpanel.cpp | 21 ++++++++++++++++----- indra/newview/llpanelimcontrolpanel.h | 2 ++ .../skins/default/xui/en/floater_im_session.xml | 10 +++++----- .../skins/default/xui/en/panel_im_control_panel.xml | 10 +++++++++- 4 files changed, 32 insertions(+), 11 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelimcontrolpanel.cpp b/indra/newview/llpanelimcontrolpanel.cpp index b54975b76b..b5e0cdccc0 100644 --- a/indra/newview/llpanelimcontrolpanel.cpp +++ b/indra/newview/llpanelimcontrolpanel.cpp @@ -112,21 +112,32 @@ BOOL LLPanelIMControlPanel::postBuild() childSetAction("add_friend_btn", boost::bind(&LLPanelIMControlPanel::onAddFriendButtonClicked, this)); childSetAction("share_btn", boost::bind(&LLPanelIMControlPanel::onShareButtonClicked, this)); + childSetAction("teleport_btn", boost::bind(&LLPanelIMControlPanel::onTeleportButtonClicked, this)); + childSetAction("pay_btn", boost::bind(&LLPanelIMControlPanel::onPayButtonClicked, this)); childSetEnabled("add_friend_btn", !LLAvatarActions::isFriend(getChild("avatar_icon")->getAvatarId())); return LLPanelChatControlPanel::postBuild(); } +void LLPanelIMControlPanel::onTeleportButtonClicked() +{ + LLAvatarActions::offerTeleport(mAvatarID); +} +void LLPanelIMControlPanel::onPayButtonClicked() +{ + LLAvatarActions::pay(mAvatarID); +} + void LLPanelIMControlPanel::onViewProfileButtonClicked() { - LLAvatarActions::showProfile(getChild("avatar_icon")->getAvatarId()); + LLAvatarActions::showProfile(mAvatarID); } void LLPanelIMControlPanel::onAddFriendButtonClicked() { LLAvatarIconCtrl* avatar_icon = getChild("avatar_icon"); std::string full_name = avatar_icon->getFirstName() + " " + avatar_icon->getLastName(); - LLAvatarActions::requestFriendshipDialog(avatar_icon->getAvatarId(), full_name); + LLAvatarActions::requestFriendshipDialog(mAvatarID, full_name); } void LLPanelIMControlPanel::onShareButtonClicked() @@ -140,12 +151,12 @@ void LLPanelIMControlPanel::setSessionId(const LLUUID& session_id) LLIMModel& im_model = LLIMModel::instance(); - LLUUID avatar_id = im_model.getOtherParticipantID(session_id); + mAvatarID = im_model.getOtherParticipantID(session_id); // Disable "Add friend" button for friends. - childSetEnabled("add_friend_btn", !LLAvatarActions::isFriend(avatar_id)); + childSetEnabled("add_friend_btn", !LLAvatarActions::isFriend(mAvatarID)); - getChild("avatar_icon")->setValue(avatar_id); + getChild("avatar_icon")->setValue(mAvatarID); // Disable profile button if participant is not realy SL avatar LLIMModel::LLIMSession* im_session = diff --git a/indra/newview/llpanelimcontrolpanel.h b/indra/newview/llpanelimcontrolpanel.h index d25f33935a..b60ddc1d8d 100644 --- a/indra/newview/llpanelimcontrolpanel.h +++ b/indra/newview/llpanelimcontrolpanel.h @@ -73,6 +73,8 @@ private: void onViewProfileButtonClicked(); void onAddFriendButtonClicked(); void onShareButtonClicked(); + void onTeleportButtonClicked(); + void onPayButtonClicked(); LLUUID mAvatarID; }; diff --git a/indra/newview/skins/default/xui/en/floater_im_session.xml b/indra/newview/skins/default/xui/en/floater_im_session.xml index 26d2f4e497..c314fce42d 100644 --- a/indra/newview/skins/default/xui/en/floater_im_session.xml +++ b/indra/newview/skins/default/xui/en/floater_im_session.xml @@ -3,7 +3,7 @@ legacy_header_height="18" background_visible="true" follows="left|top|right|bottom" - height="270" + height="330" layout="topleft" left="0" name="panel_im" @@ -17,7 +17,7 @@ min_width="200" min_height="150"> - + -- cgit v1.2.3 From 88ec0b0dca6c20d149e0cd5dc466d723964b02bd Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Mon, 2 Nov 2009 17:26:39 -0500 Subject: Main Inventory Panel layout fixes. --HG-- branch : avatar-pipeline --- .../skins/default/xui/en/panel_main_inventory.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_main_inventory.xml b/indra/newview/skins/default/xui/en/panel_main_inventory.xml index b6218ad932..fa73965faf 100644 --- a/indra/newview/skins/default/xui/en/panel_main_inventory.xml +++ b/indra/newview/skins/default/xui/en/panel_main_inventory.xml @@ -8,7 +8,7 @@ min_height="350" min_width="240" name="inventory panel" - width="333"> + width="330"> Things @@ -26,31 +26,31 @@ width="300" /> + width="305"> + width="290" /> + width="290" /> + width="290"> Date: Mon, 2 Nov 2009 14:58:24 -0800 Subject: Added hand-cursor to clickable text boxes, fixed hover_color warnings for login screen. Reviewed with Richard. --- indra/newview/skins/default/xui/en/panel_login.xml | 33 ---------------------- 1 file changed, 33 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_login.xml b/indra/newview/skins/default/xui/en/panel_login.xml index afe00271f7..317c79e08f 100644 --- a/indra/newview/skins/default/xui/en/panel_login.xml +++ b/indra/newview/skins/default/xui/en/panel_login.xml @@ -23,19 +23,15 @@ border_visible="false" bottom="600" follows="all" - layout="topleft" left="0" name="login_html" right="-1" start_url="" top="1" /> Date: Mon, 2 Nov 2009 14:58:39 -0800 Subject: made floater close/minimize buttons "chrome" so they don't take keyboard focus removed LLHudView::colorFromType which was unused reviewed by James --- indra/newview/llhudview.cpp | 14 -------------- indra/newview/llhudview.h | 2 -- indra/newview/llviewermenu.cpp | 1 - 3 files changed, 17 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llhudview.cpp b/indra/newview/llhudview.cpp index 027cd2ab07..261d9f1df7 100644 --- a/indra/newview/llhudview.cpp +++ b/indra/newview/llhudview.cpp @@ -71,20 +71,6 @@ void LLHUDView::draw() LLView::draw(); } - -// public -const LLColor4& LLHUDView::colorFromType(S32 type) -{ - switch (type) - { - case 0: - return LLColor4::green; - default: - return LLColor4::black; - } -} - - /*virtual*/ BOOL LLHUDView::handleMouseDown(S32 x, S32 y, MASK mask) { diff --git a/indra/newview/llhudview.h b/indra/newview/llhudview.h index 05ff9c8596..0946e2c5c8 100644 --- a/indra/newview/llhudview.h +++ b/indra/newview/llhudview.h @@ -47,8 +47,6 @@ public: virtual void draw(); - const LLColor4& colorFromType(S32 type); - protected: /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); }; diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 864cf9d57b..c801ffc01e 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -145,7 +145,6 @@ #include "llmenucommands.h" #include "llmenugl.h" #include "llmimetypes.h" -#include "llmorphview.h" #include "llmoveview.h" #include "llmutelist.h" #include "llnotify.h" -- cgit v1.2.3 From da3f4c402dd95e52186309af925b41ee946ef3dc Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Mon, 2 Nov 2009 18:01:39 -0500 Subject: MainInventory aesthetic fixes. --HG-- branch : avatar-pipeline --- indra/newview/skins/default/xui/en/panel_main_inventory.xml | 2 +- indra/newview/skins/default/xui/en/panel_side_tray.xml | 1 + indra/newview/skins/default/xui/en/sidepanel_inventory.xml | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_main_inventory.xml b/indra/newview/skins/default/xui/en/panel_main_inventory.xml index fa73965faf..c50278ff8c 100644 --- a/indra/newview/skins/default/xui/en/panel_main_inventory.xml +++ b/indra/newview/skins/default/xui/en/panel_main_inventory.xml @@ -60,7 +60,7 @@ left_delta="0" mouse_opaque="false" name="Inventory Menu" - top_delta="-38" + top_delta="-45" width="290"> diff --git a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml index 3b3fbcb936..79a1cc945d 100644 --- a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml +++ b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml @@ -3,7 +3,7 @@ background_visible="true" follows="all" height="400" - label="Places" + label="Things" layout="topleft" min_height="350" min_width="240" @@ -11,12 +11,12 @@ width="333"> @@ -29,7 +29,7 @@ name="panel_main_inventory" top="15" label="" - height="300" + height="330" width="467"> @@ -367,7 +359,6 @@ function="MediaCtrl.CommitURL" /> is_toggle="true" layout="topleft" scale_image="false" - picture_style="true" tool_tip="Mute This Media" top_delta="22" min_width="24" @@ -391,7 +382,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrollup.png" layout="topleft" tool_tip="Volume up" - picture_style="true" scale_image="true" min_width="20" width="20" > @@ -414,7 +404,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrolldown.png" layout="topleft" tool_tip="Volume down" - picture_style="true" scale_image="true" min_width="20" width="20"> @@ -446,7 +435,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_scrollup.png" layout="topleft" tool_tip="Scroll up" - picture_style="true" scale_image="false" left="12" top_delta="4" @@ -460,7 +448,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left="3" tool_tip="Scroll left" - picture_style="true" scale_image="false" top="12" min_width="8" @@ -473,7 +460,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left_pad="9" tool_tip="Scroll right" - picture_style="true" scale_image="false" top_delta="0" min_width="8" @@ -486,7 +472,6 @@ function="MediaCtrl.CommitURL" /> layout="topleft" left="12" tool_tip="Scroll down" - picture_style="true" scale_image="false" top="20" min_width="8" @@ -506,7 +491,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_optimalzoom.png" layout="topleft" tool_tip="Zoom" - picture_style="true" min_width="22" width="22"> image_unselected="media_btn_newwindow.png" layout="topleft" tool_tip = "Open URL in browser" - picture_style="true" top_delta="-3" min_width="24" width="24" > @@ -579,7 +562,6 @@ function="MediaCtrl.CommitURL" /> image_unselected="media_btn_done.png" layout="topleft" tool_tip ="Close media control" - picture_style="true" top_delta="-4" width="21" > diff --git a/indra/newview/skins/default/xui/en/panel_scrolling_param.xml b/indra/newview/skins/default/xui/en/panel_scrolling_param.xml index 21ecd01839..44afadf65a 100644 --- a/indra/newview/skins/default/xui/en/panel_scrolling_param.xml +++ b/indra/newview/skins/default/xui/en/panel_scrolling_param.xml @@ -56,7 +56,6 @@ layout="topleft" left="2" name="less" - picture_style="true" tab_stop="false" top="0" width="132" /> @@ -70,7 +69,6 @@ layout="topleft" left_pad="2" name="more" - picture_style="true" tab_stop="false" top_delta="0" width="132" /> diff --git a/indra/newview/skins/default/xui/en/panel_teleport_history.xml b/indra/newview/skins/default/xui/en/panel_teleport_history.xml index 4169c6245b..bbfffe7bab 100644 --- a/indra/newview/skins/default/xui/en/panel_teleport_history.xml +++ b/indra/newview/skins/default/xui/en/panel_teleport_history.xml @@ -176,7 +176,6 @@ layout="topleft" left="10" name="gear_btn" - picture_style="true" top="5" width="18" /> diff --git a/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml b/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml index 73a7d95ff4..289daee7c2 100644 --- a/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml +++ b/indra/newview/skins/default/xui/en/panel_teleport_history_item.xml @@ -56,7 +56,6 @@ left_pad="3" right="-31" name="info_btn" - picture_style="true" top_delta="-2" width="16" /> - - Water Fog Color - + + + + + + + + + + + + + + + + + + + The Mighty Moose of mooseville soundvillemoose + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/indra/newview/skins/default/xui/en/panel_places.xml b/indra/newview/skins/default/xui/en/panel_places.xml index 5aa53ab46b..87ac5be74a 100644 --- a/indra/newview/skins/default/xui/en/panel_places.xml +++ b/indra/newview/skins/default/xui/en/panel_places.xml @@ -40,14 +40,26 @@ background_visible="true" top_pad="10" width="313" /> + -- cgit v1.2.3 From 97f9ad9f4c049a76287968f2d4fd5133e883984b Mon Sep 17 00:00:00 2001 From: Lynx Linden Date: Tue, 3 Nov 2009 17:16:37 +0000 Subject: DEV-41358 DEV-41361: Added support for new SLAPP URLs, needed for the new Search web pages. These are: secondlife:///app/worldmap/{NAME}/{COORDS} Show the given coordinate on the World Map secondlife:///app/agent/{UUID}/pay Pay the specified Resident secondlife:///app/agent/{UUID}/im IM the specified Resident secondlife:///app/agent/{UUID}/requestfriend Request friendship of the specificed Resident secondlife:///app/agent/{UUID}/offerteleport Offer to Teleport the specified Resident secondlife:///app/agent/{UUID}/mute Mute/Block Resident secondlife:///app/agent/{UUID}/unmute Unmute/Unblock Resident --- indra/newview/llfloaterworldmap.cpp | 30 +++++++++++++++++++++++ indra/newview/llpanelprofile.cpp | 48 +++++++++++++++++++++++++++++++++++-- 2 files changed, 76 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index b7e8835fb8..f3f600149f 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -45,6 +45,7 @@ #include "llcallingcard.h" #include "llcombobox.h" #include "llviewercontrol.h" +#include "llcommandhandler.h" #include "lldraghandle.h" #include "llfirstuse.h" #include "llfloaterreg.h" // getTypedInstance() @@ -96,6 +97,35 @@ static const F32 SIM_COORD_DEFAULT = 128.f; // Globals //--------------------------------------------------------------------------- +// handle secondlife:///app/worldmap/{NAME}/{COORDS} URLs +class LLWorldMapHandler : public LLCommandHandler +{ +public: + // requires trusted browser to trigger + LLWorldMapHandler() : LLCommandHandler("worldmap", UNTRUSTED_THROTTLE) { } + + bool handle(const LLSD& params, const LLSD& query_map, + LLMediaCtrl* web) + { + if (params.size() == 0) + { + return false; + } + + const std::string region_name = params[0].asString(); + S32 x = (params.size() > 1) ? params[1].asInteger() : 128; + S32 y = (params.size() > 2) ? params[2].asInteger() : 128; + S32 z = (params.size() > 3) ? params[3].asInteger() : 0; + + LLFloaterWorldMap::getInstance()->trackURL(region_name, x, y, z); + LLFloaterReg::showInstance("world_map", "center"); + + return true; + } +}; +LLWorldMapHandler gWorldMapHandler; + + LLFloaterWorldMap* gFloaterWorldMap = NULL; class LLMapInventoryObserver : public LLInventoryObserver diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index bec670cdaa..8147ff17f0 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -59,17 +59,61 @@ public: return false; } - if (params[1].asString() == "about") + const std::string verb = params[1].asString(); + if (verb == "about") { LLAvatarActions::showProfile(avatar_id); return true; } - if (params[1].asString() == "inspect") + if (verb == "inspect") { LLFloaterReg::showInstance("inspect_avatar", LLSD().insert("avatar_id", avatar_id)); return true; } + + if (verb == "im") + { + LLAvatarActions::startIM(avatar_id); + return true; + } + + if (verb == "pay") + { + LLAvatarActions::pay(avatar_id); + return true; + } + + if (verb == "offerteleport") + { + LLAvatarActions::offerTeleport(avatar_id); + return true; + } + + if (verb == "requestfriend") + { + LLAvatarActions::requestFriendshipDialog(avatar_id); + return true; + } + + if (verb == "mute") + { + if (! LLAvatarActions::isBlocked(avatar_id)) + { + LLAvatarActions::toggleBlock(avatar_id); + } + return true; + } + + if (verb == "unmute") + { + if (LLAvatarActions::isBlocked(avatar_id)) + { + LLAvatarActions::toggleBlock(avatar_id); + } + return true; + } + return false; } }; -- cgit v1.2.3 From 9109809fb18968edfcd8e8f01428309fcc2e7578 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Tue, 3 Nov 2009 12:22:31 -0500 Subject: For EXT-1591: Current Outfit Folder contains duplicate attachment items after relog. --HG-- branch : avatar-pipeline --- indra/newview/llagentwearables.cpp | 3 ++- indra/newview/llappearancemgr.cpp | 37 +++++++++++++++++++++++++++++++++++++ indra/newview/llappearancemgr.h | 3 ++- indra/newview/llvoavatarself.cpp | 13 ------------- 4 files changed, 41 insertions(+), 15 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 380469f5b3..d1d6e496b6 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -2014,7 +2014,8 @@ void LLInitialWearablesFetch::done() LLFindWearables is_wearable; gInventory.collectDescendentsIf(mCompleteFolders.front(), cat_array, wearable_array, LLInventoryModel::EXCLUDE_TRASH, is_wearable); - + + LLAppearanceManager::setAttachmentInvLinkEnable(true); if (wearable_array.count() > 0) { LLAppearanceManager::instance().updateAppearanceFromCOF(); diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index c297f8db29..8d0f11e021 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -1181,6 +1181,14 @@ void LLAppearanceManager::dumpItemArray(const LLInventoryModel::item_array_t& it std::set LLAppearanceManager::sRegisteredAttachments; +bool LLAppearanceManager::sAttachmentInvLinkEnabled(false); + +/* static */ +void LLAppearanceManager::setAttachmentInvLinkEnable(bool val) +{ + llinfos << "setAttachmentInvLinkEnable => " << (int) val << llendl; + sAttachmentInvLinkEnabled = val; +} void dumpAttachmentSet(const std::set& atts, const std::string& msg) { @@ -1204,6 +1212,22 @@ void LLAppearanceManager::registerAttachment(const LLUUID& item_id) { sRegisteredAttachments.insert(item_id); dumpAttachmentSet(sRegisteredAttachments,"after register:"); + + if (sAttachmentInvLinkEnabled) + { + LLViewerInventoryItem *item = gInventory.getItem(item_id); + if (item) + { + LLAppearanceManager::dumpCat(LLAppearanceManager::getCOF(),"Adding attachment link:"); + LLAppearanceManager::wearItem(item,false); // Add COF link for item. + gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + gInventory.notifyObservers(); + } + } + else + { + llinfos << "no link changes, inv link not enabled" << llendl; + } } /* static */ @@ -1211,4 +1235,17 @@ void LLAppearanceManager::unregisterAttachment(const LLUUID& item_id) { sRegisteredAttachments.erase(item_id); dumpAttachmentSet(sRegisteredAttachments,"after unregister:"); + + if (sAttachmentInvLinkEnabled) + { + LLAppearanceManager::dumpCat(LLAppearanceManager::getCOF(),"Removing attachment link:"); + LLAppearanceManager::removeItemLinks(item_id, false); + // BAP - needs to change for label to track link. + gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + gInventory.notifyObservers(); + } + else + { + llinfos << "no link changes, inv link not enabled" << llendl; + } } diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h index 45c6e23bae..56f54dfc23 100644 --- a/indra/newview/llappearancemgr.h +++ b/indra/newview/llappearancemgr.h @@ -70,7 +70,7 @@ public: static void dumpItemArray(const LLInventoryModel::item_array_t& items, const std::string& msg); static void unregisterAttachment(const LLUUID& item_id); static void registerAttachment(const LLUUID& item_id); - + static void setAttachmentInvLinkEnable(bool val); private: static void filterWearableItems(LLInventoryModel::item_array_t& items, S32 max_per_type); @@ -99,6 +99,7 @@ private: static void purgeCategory(const LLUUID& category, bool keep_outfit_links); static std::set sRegisteredAttachments; + static bool sAttachmentInvLinkEnabled; }; diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 44fd81f0d1..a964f43171 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -1081,15 +1081,7 @@ const LLViewerJointAttachment *LLVOAvatarSelf::attachObject(LLViewerObject *view { const LLUUID& attachment_id = viewer_object->getItemID(); LLAppearanceManager::registerAttachment(attachment_id); - LLViewerInventoryItem *item = gInventory.getItem(attachment_id); - if (item) - { - LLAppearanceManager::dumpCat(LLAppearanceManager::getCOF(),"Adding attachment link:"); - LLAppearanceManager::wearItem(item,false); // Add COF link for item. - gInventory.addChangedMask(LLInventoryObserver::LABEL, attachment_id); - } } - gInventory.notifyObservers(); return attachment; } @@ -1127,14 +1119,9 @@ BOOL LLVOAvatarSelf::detachObject(LLViewerObject *viewer_object) } else { - LLAppearanceManager::dumpCat(LLAppearanceManager::getCOF(),"Removing attachment link:"); - LLAppearanceManager::removeItemLinks(attachment_id, false); LLAppearanceManager::unregisterAttachment(attachment_id); } - // BAP - needs to change for label to track link. - gInventory.addChangedMask(LLInventoryObserver::LABEL, attachment_id); - gInventory.notifyObservers(); return TRUE; } return FALSE; -- cgit v1.2.3 From 7b4a5d7ba8457bcab2fd371a48e10fa21c52d7fd Mon Sep 17 00:00:00 2001 From: Denis Serdjuk Date: Tue, 3 Nov 2009 19:38:53 +0200 Subject: EXT-1976 Voice indicator in Nearby Chat entry field is active during a private call. Cause: Nearbychat bar had used LLActiveSpeakerMgr instead of LLlocalSpeakerMgr. --HG-- branch : product-engine --- indra/newview/llnearbychatbar.cpp | 5 +++-- indra/newview/llnearbychatbar.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index 32dc5e5927..10a5a415ce 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -207,6 +207,7 @@ LLNearbyChatBar::LLNearbyChatBar() : LLPanel() , mChatBox(NULL) { + mSpeakerMgr = LLLocalSpeakerMgr::getInstance(); } //virtual @@ -516,8 +517,8 @@ void LLNearbyChatBar::displaySpeakingIndicator() LLUUID id; id.setNull(); - mSpeakerMgr.update(TRUE); - mSpeakerMgr.getSpeakerList(&speaker_list, FALSE); + mSpeakerMgr->update(TRUE); + mSpeakerMgr->getSpeakerList(&speaker_list, FALSE); for (LLSpeakerMgr::speaker_list_t::iterator i = speaker_list.begin(); i != speaker_list.end(); ++i) { diff --git a/indra/newview/llnearbychatbar.h b/indra/newview/llnearbychatbar.h index 06204e6367..0307eee7bf 100644 --- a/indra/newview/llnearbychatbar.h +++ b/indra/newview/llnearbychatbar.h @@ -127,7 +127,7 @@ protected: LLLineEditor* mChatBox; LLTalkButton* mTalkBtn; LLOutputMonitorCtrl* mOutputMonitor; - LLActiveSpeakerMgr mSpeakerMgr; + LLLocalSpeakerMgr* mSpeakerMgr; }; #endif -- cgit v1.2.3 From fd3a9fb152dd7bd828d56efb535d0d08330fc2b9 Mon Sep 17 00:00:00 2001 From: Eugene Mutavchi Date: Tue, 3 Nov 2009 19:47:26 +0200 Subject: Fixed major bug EXT-2007 (Friends Conference: Names of partisipants are invisible) --HG-- branch : product-engine --- indra/newview/skins/default/xui/en/floater_im_session.xml | 10 +++++----- .../newview/skins/default/xui/en/panel_adhoc_control_panel.xml | 5 +++-- .../newview/skins/default/xui/en/panel_group_control_panel.xml | 6 +++--- indra/newview/skins/default/xui/en/panel_im_control_panel.xml | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/floater_im_session.xml b/indra/newview/skins/default/xui/en/floater_im_session.xml index c4324b425a..cdcee9ab64 100644 --- a/indra/newview/skins/default/xui/en/floater_im_session.xml +++ b/indra/newview/skins/default/xui/en/floater_im_session.xml @@ -12,13 +12,13 @@ can_dock="true" can_minimize="true" visible="true" - width="365" + width="400" can_resize="true" min_width="200" min_height="150"> @@ -61,9 +61,9 @@ name="chat_history" parse_highlights="true" allow_html="true" - width="195"> + width="230"> - + diff --git a/indra/newview/skins/default/xui/en/panel_adhoc_control_panel.xml b/indra/newview/skins/default/xui/en/panel_adhoc_control_panel.xml index f50acc224f..87c4e2787f 100644 --- a/indra/newview/skins/default/xui/en/panel_adhoc_control_panel.xml +++ b/indra/newview/skins/default/xui/en/panel_adhoc_control_panel.xml @@ -1,7 +1,7 @@ + width="180" /> \ No newline at end of file + diff --git a/indra/newview/skins/default/xui/en/menu_inspect_self_gear.xml b/indra/newview/skins/default/xui/en/menu_inspect_self_gear.xml index 19c2bf3496..ce5ee83f55 100644 --- a/indra/newview/skins/default/xui/en/menu_inspect_self_gear.xml +++ b/indra/newview/skins/default/xui/en/menu_inspect_self_gear.xml @@ -7,7 +7,6 @@ name="Gear Menu"> - \ No newline at end of file + -- cgit v1.2.3 From a3f9b5d2d8cba2aa7de71aee0564a8125ca02e29 Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 3 Nov 2009 16:13:54 -0800 Subject: EXT-2093 People inspectors should include an "IM" button --- indra/newview/llinspectavatar.cpp | 19 +++++++++++++++++-- indra/newview/skins/default/xui/en/inspect_avatar.xml | 12 ++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp index bfad2b1624..9989a3b473 100644 --- a/indra/newview/llinspectavatar.cpp +++ b/indra/newview/llinspectavatar.cpp @@ -188,7 +188,8 @@ LLInspectAvatar::LLInspectAvatar(const LLSD& sd) { mCommitCallbackRegistrar.add("InspectAvatar.ViewProfile", boost::bind(&LLInspectAvatar::onClickViewProfile, this)); mCommitCallbackRegistrar.add("InspectAvatar.AddFriend", boost::bind(&LLInspectAvatar::onClickAddFriend, this)); - mCommitCallbackRegistrar.add("InspectAvatar.IM", boost::bind(&LLInspectAvatar::onClickIM, this)); + mCommitCallbackRegistrar.add("InspectAvatar.IM", + boost::bind(&LLInspectAvatar::onClickIM, this)); mCommitCallbackRegistrar.add("InspectAvatar.Teleport", boost::bind(&LLInspectAvatar::onClickTeleport, this)); mCommitCallbackRegistrar.add("InspectAvatar.InviteToGroup", boost::bind(&LLInspectAvatar::onClickInviteToGroup, this)); mCommitCallbackRegistrar.add("InspectAvatar.Pay", boost::bind(&LLInspectAvatar::onClickPay, this)); @@ -306,7 +307,21 @@ void LLInspectAvatar::requestUpdate() // You can't re-add someone as a friend if they are already your friend bool is_friend = LLAvatarTracker::instance().getBuddyInfo(mAvatarID) != NULL; bool is_self = (mAvatarID == gAgentID); - childSetEnabled("add_friend_btn", !is_friend && !is_self); + if (is_self) + { + getChild("add_friend_btn")->setVisible(false); + getChild("im_btn")->setVisible(false); + } + else if (is_friend) + { + getChild("add_friend_btn")->setVisible(false); + getChild("im_btn")->setVisible(true); + } + else + { + getChild("add_friend_btn")->setVisible(true); + getChild("im_btn")->setVisible(false); + } // Use an avatar_icon even though the image id will come down with the // avatar properties because the avatar_icon code maintains a cache of icons diff --git a/indra/newview/skins/default/xui/en/inspect_avatar.xml b/indra/newview/skins/default/xui/en/inspect_avatar.xml index 6b13e2f1c7..e2ae81e0b9 100644 --- a/indra/newview/skins/default/xui/en/inspect_avatar.xml +++ b/indra/newview/skins/default/xui/en/inspect_avatar.xml @@ -128,6 +128,8 @@ left_delta="110" tab_stop="false" width="18" /> + + + + + + + + + + + + + + + + + + + + The Mighty Moose of mooseville soundvillemoose + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/indra/newview/skins/default/xui/en/panel_places.xml b/indra/newview/skins/default/xui/en/panel_places.xml index 5aa53ab46b..87ac5be74a 100644 --- a/indra/newview/skins/default/xui/en/panel_places.xml +++ b/indra/newview/skins/default/xui/en/panel_places.xml @@ -40,14 +40,26 @@ background_visible="true" top_pad="10" width="313" /> + diff --git a/indra/newview/skins/default/xui/en/panel_profile.xml b/indra/newview/skins/default/xui/en/panel_profile.xml index 5af7d7d674..c3a92f9d9a 100644 --- a/indra/newview/skins/default/xui/en/panel_profile.xml +++ b/indra/newview/skins/default/xui/en/panel_profile.xml @@ -157,7 +157,7 @@ value="http://librarianavengers.org" width="280" word_wrap="false" - use_elipsis="true" + use_ellipses="true" /> + image_unselected="PushButton_Off" + image_selected="PushButton_Selected" + image_disabled="PushButton_Disabled" + image_disabled_selected="PushButton_Selected_Disabled" /> + + + + + + + -- cgit v1.2.3 From dc365be4d23d8070a4f9e670918dbe8ccbe8cc79 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Wed, 4 Nov 2009 18:03:04 -0500 Subject: For EXT-1985: Clothing previously taken off is re-worn when creating a new clothing item in appearance mode. General problem with failing to update the COF when clothing items were removed. Added hook in removeWearableFinal, which should guarantee that we're always removing clothing links when we need to. --- indra/newview/llagentwearables.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 4b3d27767c..7d215b5778 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1393,6 +1393,7 @@ void LLAgentWearables::removeWearableFinal(const EWearableType type, bool do_rem const LLUUID &item_id = getWearableItemID(type,i); popWearable(type,i); gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + LLAppearanceManager::removeItemLinks(item_id,false); //queryWearableCache(); // moved below if (old_wearable) @@ -1409,6 +1410,7 @@ void LLAgentWearables::removeWearableFinal(const EWearableType type, bool do_rem const LLUUID &item_id = getWearableItemID(type,index); popWearable(type, index); gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); + LLAppearanceManager::removeItemLinks(item_id,false); //queryWearableCache(); // moved below -- cgit v1.2.3 From 0520ad677a380e81f6d166bfbcbed23333533b77 Mon Sep 17 00:00:00 2001 From: Leyla Farazha Date: Wed, 4 Nov 2009 15:06:56 -0800 Subject: EXT-1739 Preferences > Sounds > Device settings -- Input/Output controls don't work EXT-2073 Need ability to change font style of tab headers EXT-1505 Kill text drop shadow on Menu and Tabs reviewed by Richard --- indra/newview/llfloatervoicedevicesettings.cpp | 17 ++++++++++ indra/newview/llfloatervoicedevicesettings.h | 2 ++ .../default/xui/en/panel_preferences_sound.xml | 37 ++++++++++++++-------- .../skins/default/xui/en/widgets/tab_container.xml | 1 + 4 files changed, 43 insertions(+), 14 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp index aca9198f59..bbeb287171 100644 --- a/indra/newview/llfloatervoicedevicesettings.cpp +++ b/indra/newview/llfloatervoicedevicesettings.cpp @@ -49,6 +49,9 @@ #include "lluictrlfactory.h" +static LLRegisterPanelClassWrapper t_panel_group_general("panel_voice_device_settings"); + + LLPanelVoiceDeviceSettings::LLPanelVoiceDeviceSettings() : LLPanel() { @@ -82,8 +85,22 @@ BOOL LLPanelVoiceDeviceSettings::postBuild() return TRUE; } +// virtual +void LLPanelVoiceDeviceSettings::handleVisibilityChange ( BOOL new_visibility ) +{ + if (new_visibility) + { + initialize(); + } + else + { + cleanup(); + } +} void LLPanelVoiceDeviceSettings::draw() { + refresh(); + // let user know that volume indicator is not yet available bool is_in_tuning_mode = gVoiceClient->inTuningMode(); childSetVisible("wait_text", !is_in_tuning_mode); diff --git a/indra/newview/llfloatervoicedevicesettings.h b/indra/newview/llfloatervoicedevicesettings.h index f1603dc414..d67283d0a2 100644 --- a/indra/newview/llfloatervoicedevicesettings.h +++ b/indra/newview/llfloatervoicedevicesettings.h @@ -50,6 +50,8 @@ public: void initialize(); void cleanup(); + /*virtual*/ void handleVisibilityChange ( BOOL new_visibility ); + protected: static void onCommitInputDevice(LLUICtrl* ctrl, void* user_data); static void onCommitOutputDevice(LLUICtrl* ctrl, void* user_data); diff --git a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml index 832c9775ce..c1df7bd501 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_sound.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_sound.xml @@ -336,19 +336,20 @@ top_delta="19" width="200" /> - + + Default + My volume: - Date: Wed, 4 Nov 2009 18:58:27 -0500 Subject: Small cleanup in LLAgentWearables.cpp --- indra/newview/llagentwearables.cpp | 6 +-- indra/newview/llagentwearables.h | 6 +-- indra/newview/llviewermenu.cpp | 102 ++++--------------------------------- 3 files changed, 15 insertions(+), 99 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 7d215b5778..d8aca860d5 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -1724,10 +1724,8 @@ void LLAgentWearables::queryWearableCache() // MULTI_WEARABLE: need a way to specify by wearable rather than by type. // User has picked "remove from avatar" from a menu. // static -void LLAgentWearables::userRemoveWearable(void* userdata) +void LLAgentWearables::userRemoveWearable(EWearableType& type) { - EWearableType type = (EWearableType)(intptr_t)userdata; - if (!(type==WT_SHAPE || type==WT_SKIN || type==WT_HAIR)) //&& //!((!gAgent.isTeen()) && (type==WT_UNDERPANTS || type==WT_UNDERSHIRT))) { @@ -1737,7 +1735,7 @@ void LLAgentWearables::userRemoveWearable(void* userdata) } // static -void LLAgentWearables::userRemoveAllClothes(void* userdata) +void LLAgentWearables::userRemoveAllClothes() { // We have to do this up front to avoid having to deal with the case of multiple wearables being dirty. if (gFloaterCustomize) diff --git a/indra/newview/llagentwearables.h b/indra/newview/llagentwearables.h index 97de785c87..317f4a7e4f 100644 --- a/indra/newview/llagentwearables.h +++ b/indra/newview/llagentwearables.h @@ -191,9 +191,9 @@ public: //-------------------------------------------------------------------- public: // MULTI-WEARABLE: assuming one wearable per type. Need upstream changes. - static void userRemoveWearable(void* userdata); // userdata is EWearableType - static void userRemoveAllClothes(void* userdata); // userdata is NULL - + static void userRemoveWearable(EWearableType& type); + static void userRemoveAllClothes(); + typedef std::vector llvo_vec_t; static void userUpdateAttachments(LLInventoryModel::item_array_t& obj_item_array); diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 23ceb1e72d..c85ed46cd6 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -7461,52 +7461,10 @@ class LLEditEnableTakeOff : public view_listener_t bool handleEvent(const LLSD& userdata) { std::string clothing = userdata.asString(); - bool new_value = false; - if (clothing == "shirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_SHIRT); - } - if (clothing == "pants") - { - new_value = LLAgentWearables::selfHasWearable(WT_PANTS); - } - if (clothing == "shoes") - { - new_value = LLAgentWearables::selfHasWearable(WT_SHOES); - } - if (clothing == "socks") - { - new_value = LLAgentWearables::selfHasWearable(WT_SOCKS); - } - if (clothing == "jacket") - { - new_value = LLAgentWearables::selfHasWearable(WT_JACKET); - } - if (clothing == "gloves") - { - new_value = LLAgentWearables::selfHasWearable(WT_GLOVES); - } - if (clothing == "undershirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_UNDERSHIRT); - } - if (clothing == "underpants") - { - new_value = LLAgentWearables::selfHasWearable(WT_UNDERPANTS); - } - if (clothing == "skirt") - { - new_value = LLAgentWearables::selfHasWearable(WT_SKIRT); - } - if (clothing == "alpha") - { - new_value = LLAgentWearables::selfHasWearable(WT_ALPHA); - } - if (clothing == "tattoo") - { - new_value = LLAgentWearables::selfHasWearable(WT_TATTOO); - } - return new_value; + EWearableType type = LLWearableDictionary::typeNameToType(clothing); + if (type >= WT_SHAPE && type < WT_COUNT) + return LLAgentWearables::selfHasWearable(type); + return false; } }; @@ -7515,53 +7473,13 @@ class LLEditTakeOff : public view_listener_t bool handleEvent(const LLSD& userdata) { std::string clothing = userdata.asString(); - if (clothing == "shirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_SHIRT); - } - else if (clothing == "pants") - { - LLAgentWearables::userRemoveWearable((void*)WT_PANTS); - } - else if (clothing == "shoes") - { - LLAgentWearables::userRemoveWearable((void*)WT_SHOES); - } - else if (clothing == "socks") - { - LLAgentWearables::userRemoveWearable((void*)WT_SOCKS); - } - else if (clothing == "jacket") - { - LLAgentWearables::userRemoveWearable((void*)WT_JACKET); - } - else if (clothing == "gloves") - { - LLAgentWearables::userRemoveWearable((void*)WT_GLOVES); - } - else if (clothing == "undershirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_UNDERSHIRT); - } - else if (clothing == "underpants") - { - LLAgentWearables::userRemoveWearable((void*)WT_UNDERPANTS); - } - else if (clothing == "skirt") - { - LLAgentWearables::userRemoveWearable((void*)WT_SKIRT); - } - else if (clothing == "alpha") - { - LLAgentWearables::userRemoveWearable((void*)WT_ALPHA); - } - else if (clothing == "tattoo") - { - LLAgentWearables::userRemoveWearable((void*)WT_TATTOO); - } - else if (clothing == "all") + if (clothing == "all") + LLAgentWearables::userRemoveAllClothes(); + else { - LLAgentWearables::userRemoveAllClothes(NULL); + EWearableType type = LLWearableDictionary::typeNameToType(clothing); + if (type >= WT_SHAPE && type < WT_COUNT) + LLAgentWearables::userRemoveWearable(type); } return true; } -- cgit v1.2.3 From 0bd2567bf5648808a95c7826581199bb371597cb Mon Sep 17 00:00:00 2001 From: Monroe Linden Date: Wed, 4 Nov 2009 15:59:04 -0800 Subject: Fix for DEV-42076 (media controls should not fade out while mouse is hovered over them). Updated LLPanelPrimMediaControls::isMouseOver() to do the right thing with the new structure of the panel. --- indra/newview/llpanelprimmediacontrols.cpp | 33 ++++++++++++++++++------------ 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llpanelprimmediacontrols.cpp b/indra/newview/llpanelprimmediacontrols.cpp index 58ca481b77..0b2a7e8756 100644 --- a/indra/newview/llpanelprimmediacontrols.cpp +++ b/indra/newview/llpanelprimmediacontrols.cpp @@ -691,24 +691,31 @@ bool LLPanelPrimMediaControls::isMouseOver() getWindow()->getCursorPosition(&cursor_pos_window); getWindow()->convertCoords(cursor_pos_window, &cursor_pos_gl); - LLPanel* controls_panel = NULL; - controls_panel = getChild("media_hover_controls"); - if(controls_panel && !controls_panel->getVisible()) - { - // The hover controls aren't visible -- use the focused controls instead. - controls_panel = getChild("media_focused_controls"); - } + LLView* controls_view = NULL; + controls_view = getChild("media_controls"); - if(controls_panel && controls_panel->getVisible()) + if(controls_view && controls_view->getVisible()) { - controls_panel->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); + controls_view->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); - LLView *hit_child = controls_panel->childFromPoint(x, y); - if(hit_child) + LLView *hit_child = controls_view->childFromPoint(x, y); + if(hit_child && hit_child->getVisible()) { // This was useful for debugging both coordinate translation and view hieararchy problems... -// llinfos << "mouse coords: " << x << ", " << y << " hit child " << hit_child->getName() << llendl; - result = true; + // llinfos << "mouse coords: " << x << ", " << y << " hit child " << hit_child->getName() << llendl; + + // This will be a direct child of the LLLayoutStack, which should be a layout_panel. + // These may not shown/hidden by the logic in updateShape(), so we need to do another hit test on the children of the layout panel, + // which are the actual controls. + hit_child->screenPointToLocal(cursor_pos_gl.mX, cursor_pos_gl.mY, &x, &y); + + LLView *hit_child_2 = hit_child->childFromPoint(x, y); + if(hit_child_2 && hit_child_2->getVisible()) + { + // This was useful for debugging both coordinate translation and view hieararchy problems... + // llinfos << " mouse coords: " << x << ", " << y << " hit child 2 " << hit_child_2->getName() << llendl; + result = true; + } } } } -- cgit v1.2.3 From 33eac5dc0a1dfc0624dcfc75bec35155fbb9c917 Mon Sep 17 00:00:00 2001 From: Rick Pasetto Date: Wed, 4 Nov 2009 16:11:39 -0800 Subject: Fix typo in XUI file that broke media controls --- indra/newview/skins/default/xui/en/panel_prim_media_controls.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml index 7b34e2931e..d384abf038 100644 --- a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml +++ b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml @@ -254,7 +254,7 @@ image_selected="button_anim_pause.tga" image_unselected="button_anim_pause.tga" layout="topleft" - tool_tip = "Pause media" + tool_tip = "Pause media"> -- cgit v1.2.3 From c527ade45beb1db2e1801646945812344a520ed0 Mon Sep 17 00:00:00 2001 From: "Eric M. Tulla (BigPapi)" Date: Wed, 4 Nov 2009 19:27:00 -0500 Subject: Fix for DEV-32672 / VWR-13349. Prim move grid display wasn't mipmapping properly. --- indra/newview/llmaniptranslate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index 2153f77336..f1b3a37677 100644 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -163,7 +163,7 @@ void LLManipTranslate::restoreGL() GLuint* d = new GLuint[rez*rez]; - gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, sGridTex->getTexName()); + gGL.getTexUnit(0)->bindManual(LLTexUnit::TT_TEXTURE, sGridTex->getTexName(), true); gGL.getTexUnit(0)->setTextureFilteringOption(LLTexUnit::TFO_TRILINEAR); while (rez >= 1) -- cgit v1.2.3 From 1f0848969c6464648c6c60b771037f7a9eb98cad Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 4 Nov 2009 16:33:08 -0800 Subject: converted all floater titles to uppercase --- indra/newview/skins/default/xui/da/floater_about.xml | 2 +- indra/newview/skins/default/xui/da/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_auction.xml | 2 +- indra/newview/skins/default/xui/da/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/da/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/da/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/da/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/da/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/da/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/da/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/da/floater_customize.xml | 2 +- indra/newview/skins/default/xui/da/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/da/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/da/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/da/floater_hud.xml | 2 +- indra/newview/skins/default/xui/da/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/da/floater_inventory.xml | 2 +- .../skins/default/xui/da/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/da/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/da/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/da/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/da/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/da/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/da/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/da/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/da/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/da/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/da/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/da/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/da/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/da/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/da/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/da/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/da/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/da/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/da/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/da/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/da/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/da/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/da/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/da/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/da/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/da/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/da/floater_tools.xml | 2 +- indra/newview/skins/default/xui/da/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/da/floater_water.xml | 2 +- indra/newview/skins/default/xui/da/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/da/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/de/floater_about.xml | 2 +- indra/newview/skins/default/xui/de/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_auction.xml | 2 +- indra/newview/skins/default/xui/de/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/de/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/de/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/de/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/de/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/de/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/de/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/de/floater_customize.xml | 2 +- indra/newview/skins/default/xui/de/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/de/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/de/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/de/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/de/floater_hud.xml | 2 +- indra/newview/skins/default/xui/de/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/de/floater_inventory.xml | 2 +- .../skins/default/xui/de/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/de/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/de/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/de/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/de/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/de/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/de/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/de/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/de/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/de/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/de/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/de/floater_notification.xml | 2 +- indra/newview/skins/default/xui/de/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/de/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/de/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/de/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/de/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/de/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/de/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/de/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/de/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/de/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/de/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/de/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/de/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/de/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/de/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/de/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/de/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/de/floater_tools.xml | 2 +- indra/newview/skins/default/xui/de/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/de/floater_water.xml | 2 +- indra/newview/skins/default/xui/de/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/de/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/en/floater_aaa.xml | 2 +- indra/newview/skins/default/xui/en/floater_about.xml | 2 +- indra/newview/skins/default/xui/en/floater_about_land.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_activeim.xml | 2 +- indra/newview/skins/default/xui/en/floater_auction.xml | 2 +- indra/newview/skins/default/xui/en/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/en/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/en/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/en/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/en/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/en/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/en/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/en/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/en/floater_customize.xml | 2 +- indra/newview/skins/default/xui/en/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_device_settings.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/en/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/en/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/en/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_help_browser.xml | 2 +- indra/newview/skins/default/xui/en/floater_hud.xml | 2 +- indra/newview/skins/default/xui/en/floater_incoming_call.xml | 2 +- indra/newview/skins/default/xui/en/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/en/floater_inventory.xml | 2 +- .../skins/default/xui/en/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/en/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/en/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/en/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/en/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/en/floater_live_lsleditor.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/en/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/en/floater_media_settings.xml | 2 +- indra/newview/skins/default/xui/en/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/en/floater_mute_object.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/en/floater_nearby_chat.xml | 2 +- indra/newview/skins/default/xui/en/floater_notification.xml | 2 +- indra/newview/skins/default/xui/en/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/en/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/en/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/en/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/en/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/en/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/en/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/en/floater_preview_event.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_gesture_info.xml | 4 ++-- .../newview/skins/default/xui/en/floater_preview_gesture_shortcut.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_gesture_steps.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/en/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/en/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_debug_panel.xml | 4 ++-- indra/newview/skins/default/xui/en/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/en/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/en/floater_search.xml | 2 +- indra/newview/skins/default/xui/en/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/en/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/en/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/en/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/en/floater_stats.xml | 2 +- indra/newview/skins/default/xui/en/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/en/floater_test_inspectors.xml | 2 +- indra/newview/skins/default/xui/en/floater_test_widgets.xml | 2 +- indra/newview/skins/default/xui/en/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/en/floater_tools.xml | 2 +- indra/newview/skins/default/xui/en/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/en/floater_ui_preview.xml | 2 +- indra/newview/skins/default/xui/en/floater_water.xml | 2 +- indra/newview/skins/default/xui/en/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/en/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/es/floater_about.xml | 2 +- indra/newview/skins/default/xui/es/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_auction.xml | 2 +- indra/newview/skins/default/xui/es/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/es/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/es/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/es/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/es/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/es/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/es/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/es/floater_customize.xml | 2 +- indra/newview/skins/default/xui/es/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/es/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/es/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/es/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/es/floater_hud.xml | 2 +- indra/newview/skins/default/xui/es/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/es/floater_inventory.xml | 2 +- .../skins/default/xui/es/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/es/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/es/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/es/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/es/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/es/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/es/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/es/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/es/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/es/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/es/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/es/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/es/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/es/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/es/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/es/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/es/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/es/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/es/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/es/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/es/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/es/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/es/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/es/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/es/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/es/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/es/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/es/floater_tools.xml | 2 +- indra/newview/skins/default/xui/es/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/es/floater_water.xml | 2 +- indra/newview/skins/default/xui/es/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/es/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/fr/floater_about.xml | 2 +- indra/newview/skins/default/xui/fr/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_auction.xml | 2 +- indra/newview/skins/default/xui/fr/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/fr/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/fr/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/fr/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/fr/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/fr/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/fr/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/fr/floater_customize.xml | 2 +- indra/newview/skins/default/xui/fr/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/fr/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/fr/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/fr/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_hud.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inventory.xml | 2 +- .../skins/default/xui/fr/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/fr/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/fr/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/fr/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/fr/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/fr/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/fr/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/fr/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/fr/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/fr/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/fr/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/fr/floater_notification.xml | 2 +- indra/newview/skins/default/xui/fr/floater_notifications_console.xml | 2 +- indra/newview/skins/default/xui/fr/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/fr/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/fr/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/fr/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/fr/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/fr/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/fr/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/fr/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/fr/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/fr/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/fr/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/fr/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/fr/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/fr/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/fr/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/fr/floater_tools.xml | 2 +- indra/newview/skins/default/xui/fr/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/fr/floater_water.xml | 2 +- indra/newview/skins/default/xui/fr/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/fr/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/it/floater_about.xml | 2 +- indra/newview/skins/default/xui/it/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_auction.xml | 2 +- indra/newview/skins/default/xui/it/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/it/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/it/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/it/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/it/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/it/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/it/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/it/floater_customize.xml | 2 +- indra/newview/skins/default/xui/it/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/it/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/it/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/it/floater_hud.xml | 2 +- indra/newview/skins/default/xui/it/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/it/floater_inventory.xml | 2 +- .../skins/default/xui/it/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/it/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/it/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/it/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/it/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/it/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/it/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/it/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/it/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/it/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/it/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/it/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/it/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/it/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/it/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/it/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/it/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/it/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/it/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/it/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/it/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/it/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/it/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/it/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/it/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/it/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/it/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/it/floater_tools.xml | 2 +- indra/newview/skins/default/xui/it/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/it/floater_water.xml | 2 +- indra/newview/skins/default/xui/it/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/it/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/ja/floater_about.xml | 2 +- indra/newview/skins/default/xui/ja/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/ja/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/ja/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/ja/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/ja/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/nl/floater_about.xml | 2 +- indra/newview/skins/default/xui/nl/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_auction.xml | 2 +- indra/newview/skins/default/xui/nl/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/nl/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/nl/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/nl/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/nl/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/nl/floater_customize.xml | 2 +- indra/newview/skins/default/xui/nl/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/nl/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/nl/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/nl/floater_hud.xml | 2 +- indra/newview/skins/default/xui/nl/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/nl/floater_inventory.xml | 2 +- indra/newview/skins/default/xui/nl/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/nl/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/nl/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/nl/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/nl/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/nl/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/nl/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/nl/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/nl/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/nl/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/nl/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/nl/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/nl/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/nl/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/nl/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/nl/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/nl/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/nl/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/nl/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/nl/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/nl/floater_tools.xml | 2 +- indra/newview/skins/default/xui/nl/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/nl/floater_water.xml | 2 +- indra/newview/skins/default/xui/nl/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/pl/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_auction.xml | 2 +- indra/newview/skins/default/xui/pl/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/pl/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/pl/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/pl/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/pl/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/pl/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/pl/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/pl/floater_customize.xml | 2 +- indra/newview/skins/default/xui/pl/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/pl/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/pl/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/pl/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_hud.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inventory.xml | 2 +- .../skins/default/xui/pl/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/pl/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/pl/floater_joystick.xml | 4 ++-- indra/newview/skins/default/xui/pl/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/pl/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/pl/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/pl/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/pl/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/pl/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/pl/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/pl/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/pl/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/pl/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/pl/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/pl/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/pl/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/pl/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/pl/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/pl/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/pl/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/pl/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/pl/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/pl/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/pl/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/pl/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/pl/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/pl/floater_tools.xml | 2 +- indra/newview/skins/default/xui/pl/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/pl/floater_water.xml | 2 +- indra/newview/skins/default/xui/pl/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/pl/floater_world_map.xml | 2 +- indra/newview/skins/default/xui/pt/floater_about.xml | 2 +- indra/newview/skins/default/xui/pt/floater_about_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_auction.xml | 2 +- indra/newview/skins/default/xui/pt/floater_avatar_picker.xml | 2 +- indra/newview/skins/default/xui/pt/floater_avatar_textures.xml | 2 +- indra/newview/skins/default/xui/pt/floater_beacons.xml | 2 +- indra/newview/skins/default/xui/pt/floater_build_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_bulk_perms.xml | 2 +- indra/newview/skins/default/xui/pt/floater_bumps.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_contents.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_currency.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_buy_object.xml | 2 +- indra/newview/skins/default/xui/pt/floater_choose_group.xml | 2 +- indra/newview/skins/default/xui/pt/floater_color_picker.xml | 2 +- indra/newview/skins/default/xui/pt/floater_customize.xml | 2 +- indra/newview/skins/default/xui/pt/floater_day_cycle_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_device_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_env_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_font_test.xml | 2 +- indra/newview/skins/default/xui/pt/floater_gesture.xml | 2 +- indra/newview/skins/default/xui/pt/floater_god_tools.xml | 2 +- indra/newview/skins/default/xui/pt/floater_hardware_settings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_hud.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inspect.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inventory.xml | 2 +- .../skins/default/xui/pt/floater_inventory_item_properties.xml | 2 +- indra/newview/skins/default/xui/pt/floater_inventory_view_finder.xml | 2 +- indra/newview/skins/default/xui/pt/floater_joystick.xml | 2 +- indra/newview/skins/default/xui/pt/floater_lagmeter.xml | 2 +- indra/newview/skins/default/xui/pt/floater_land_holdings.xml | 2 +- indra/newview/skins/default/xui/pt/floater_live_lsleditor.xml | 2 +- indra/newview/skins/default/xui/pt/floater_lsl_guide.xml | 2 +- indra/newview/skins/default/xui/pt/floater_media_browser.xml | 2 +- indra/newview/skins/default/xui/pt/floater_mem_leaking.xml | 2 +- indra/newview/skins/default/xui/pt/floater_mute_object.xml | 2 +- indra/newview/skins/default/xui/pt/floater_my_friends.xml | 2 +- indra/newview/skins/default/xui/pt/floater_openobject.xml | 2 +- indra/newview/skins/default/xui/pt/floater_perm_prefs.xml | 2 +- indra/newview/skins/default/xui/pt/floater_post_process.xml | 2 +- indra/newview/skins/default/xui/pt/floater_postcard.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preferences.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_classified.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_event.xml | 2 +- indra/newview/skins/default/xui/pt/floater_preview_notecard.xml | 2 +- indra/newview/skins/default/xui/pt/floater_region_info.xml | 2 +- indra/newview/skins/default/xui/pt/floater_report_abuse.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_debug.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_preview.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_queue.xml | 2 +- indra/newview/skins/default/xui/pt/floater_script_search.xml | 2 +- indra/newview/skins/default/xui/pt/floater_sell_land.xml | 2 +- indra/newview/skins/default/xui/pt/floater_settings_debug.xml | 2 +- indra/newview/skins/default/xui/pt/floater_snapshot.xml | 2 +- indra/newview/skins/default/xui/pt/floater_sound_preview.xml | 2 +- indra/newview/skins/default/xui/pt/floater_statistics.xml | 2 +- indra/newview/skins/default/xui/pt/floater_telehub.xml | 2 +- indra/newview/skins/default/xui/pt/floater_texture_ctrl.xml | 2 +- indra/newview/skins/default/xui/pt/floater_tools.xml | 2 +- indra/newview/skins/default/xui/pt/floater_top_objects.xml | 2 +- indra/newview/skins/default/xui/pt/floater_water.xml | 2 +- indra/newview/skins/default/xui/pt/floater_windlight_options.xml | 2 +- indra/newview/skins/default/xui/pt/floater_world_map.xml | 2 +- 569 files changed, 579 insertions(+), 579 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/da/floater_about.xml b/indra/newview/skins/default/xui/da/floater_about.xml index 81d4d3fdfd..f0c9c45d04 100644 --- a/indra/newview/skins/default/xui/da/floater_about.xml +++ b/indra/newview/skins/default/xui/da/floater_about.xml @@ -1,5 +1,5 @@ - + diff --git a/indra/newview/skins/default/xui/da/floater_about_land.xml b/indra/newview/skins/default/xui/da/floater_about_land.xml index c4cf722159..cb5d618dde 100644 --- a/indra/newview/skins/default/xui/da/floater_about_land.xml +++ b/indra/newview/skins/default/xui/da/floater_about_land.xml @@ -1,5 +1,5 @@ - + diff --git a/indra/newview/skins/default/xui/da/floater_auction.xml b/indra/newview/skins/default/xui/da/floater_auction.xml index f981242f8a..8f793557be 100644 --- a/indra/newview/skins/default/xui/da/floater_auction.xml +++ b/indra/newview/skins/default/xui/da/floater_auction.xml @@ -1,5 +1,5 @@ - + + Date: Thu, 5 Nov 2009 15:16:27 -0500 Subject: Updated TimeTextColor. http://jira.secondlife.com/browse/EXT-2138 --- indra/newview/skins/default/colors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index 1e0da13162..572a4cf9e9 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -651,7 +651,7 @@ value="0 0 0 .33" /> + reference="LtGray" /> -- cgit v1.2.3 From 6ce9f3b047084a9b947f66d041645238feb4b09b Mon Sep 17 00:00:00 2001 From: Erica Date: Thu, 5 Nov 2009 12:53:41 -0800 Subject: EXT-2160 texture picker cancel button should be on the right, General texture and color picker cleanup --- .../skins/default/xui/en/floater_color_picker.xml | 22 +++-- .../skins/default/xui/en/floater_texture_ctrl.xml | 105 +++++++++++---------- 2 files changed, 67 insertions(+), 60 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/floater_color_picker.xml b/indra/newview/skins/default/xui/en/floater_color_picker.xml index e4b9d3f6bc..4380ff8f4b 100644 --- a/indra/newview/skins/default/xui/en/floater_color_picker.xml +++ b/indra/newview/skins/default/xui/en/floater_color_picker.xml @@ -168,26 +168,29 @@ - + + + - - - Date: Fri, 6 Nov 2009 16:11:42 -0500 Subject: Changed "Support" tab to "Info". http://jira.secondlife.com/browse/EXT-2177 --- indra/newview/skins/default/xui/en/floater_about.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/floater_about.xml b/indra/newview/skins/default/xui/en/floater_about.xml index c74b1929b4..2ff99dcf5a 100644 --- a/indra/newview/skins/default/xui/en/floater_about.xml +++ b/indra/newview/skins/default/xui/en/floater_about.xml @@ -69,7 +69,7 @@ Packets Lost: [PACKETS_LOST,number,0]/[PACKETS_IN,number,0] ([PACKETS_PCT,number tab_position="top"> Date: Fri, 6 Nov 2009 16:30:35 -0500 Subject: Changed llwarns on spurious InventoryPanel::buildNewViews debug mesage to lldebugs. --HG-- branch : avatar-pipeline --- indra/newview/llinventorypanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 36d9455fa2..f13651f7f9 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -457,8 +457,8 @@ void LLInventoryPanel::buildNewViews(const LLUUID& id) if (objectp->getType() <= LLAssetType::AT_NONE || objectp->getType() >= LLAssetType::AT_COUNT) { - llwarns << "LLInventoryPanel::buildNewViews called with invalid objectp->mType : " << - ((S32) objectp->getType()) << llendl; + lldebugs << "LLInventoryPanel::buildNewViews called with invalid objectp->mType : " << + ((S32) objectp->getType()) << " name " << objectp->getName() << " UUID " << objectp->getUUID() << llendl; return; } -- cgit v1.2.3 From 0b3bbf8cfc2b3c2afcb9cc79a8c74677d8645b92 Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 6 Nov 2009 13:51:16 -0800 Subject: EXT-1501 Menu fonts now configurable in XUI, set size to SansSerifSmall --- indra/newview/skins/default/xui/en/widgets/menu_item.xml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 indra/newview/skins/default/xui/en/widgets/menu_item.xml (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/widgets/menu_item.xml b/indra/newview/skins/default/xui/en/widgets/menu_item.xml new file mode 100644 index 0000000000..c98e9cb6b8 --- /dev/null +++ b/indra/newview/skins/default/xui/en/widgets/menu_item.xml @@ -0,0 +1,6 @@ + + + + -- cgit v1.2.3 From 2aa981ac23bbdf2fd609e04434179be0cfec79ce Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Fri, 6 Nov 2009 17:35:05 -0500 Subject: EXT-2278 : "Save Texture As" for bottom panel EXT-2310 : "Save Texture As" for inventory right-click menu "Save Texture As" now works properly and brings up the texture preview while saving. Also added "Save Texture As" to the right-click inventory context menu. --HG-- branch : avatar-pipeline --- indra/newview/llinventorybridge.cpp | 45 ++++++++++++++++++- indra/newview/llinventorybridge.h | 2 + indra/newview/llpanellandmarks.cpp | 2 +- indra/newview/llpanellandmarks.h | 2 +- indra/newview/llpanelmaininventory.cpp | 51 +++------------------- indra/newview/llpreviewtexture.cpp | 24 ++++++++-- indra/newview/llpreviewtexture.h | 12 ++--- .../skins/default/xui/en/menu_inventory.xml | 10 +++++ 8 files changed, 92 insertions(+), 56 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index f46bbbe188..9c7be2fcf5 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -3086,6 +3086,49 @@ void LLTextureBridge::openItem() } } +void LLTextureBridge::buildContextMenu(LLMenuGL& menu, U32 flags) +{ + lldebugs << "LLTextureBridge::buildContextMenu()" << llendl; + std::vector items; + std::vector disabled_items; + if(isInTrash()) + { + items.push_back(std::string("Purge Item")); + if (!isItemRemovable()) + { + disabled_items.push_back(std::string("Purge Item")); + } + + items.push_back(std::string("Restore Item")); + } + else + { + items.push_back(std::string("Open")); + items.push_back(std::string("Properties")); + + getClipboardEntries(true, items, disabled_items, flags); + + items.push_back(std::string("Texture Separator")); + items.push_back(std::string("Save As")); + } + hide_context_entries(menu, items, disabled_items); +} + +// virtual +void LLTextureBridge::performAction(LLFolderView* folder, LLInventoryModel* model, std::string action) +{ + if ("save_as" == action) + { + LLFloaterReg::showInstance("preview_texture", LLSD(mUUID), TAKE_FOCUS_YES); + LLPreviewTexture* preview_texture = LLFloaterReg::findTypedInstance("preview_texture", mUUID); + if (preview_texture) + { + preview_texture->openToSave(); + } + } + else LLItemBridge::performAction(folder, model, action); +} + // +=================================================+ // | LLSoundBridge | // +=================================================+ @@ -3134,7 +3177,7 @@ void LLSoundBridge::openSoundPreview(void* which) void LLSoundBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - lldebugs << "LLTextureBridge::buildContextMenu()" << llendl; + lldebugs << "LLSoundBridge::buildContextMenu()" << llendl; std::vector items; std::vector disabled_items; diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 3f3513a665..cce06813b7 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -383,6 +383,8 @@ class LLTextureBridge : public LLItemBridge public: virtual LLUIImagePtr getIcon() const; virtual void openItem(); + virtual void buildContextMenu(LLMenuGL& menu, U32 flags); + virtual void performAction(LLFolderView* folder, LLInventoryModel* model, std::string action); protected: LLTextureBridge(LLInventoryPanel* inventory, const LLUUID& uuid, LLInventoryType::EType type) : diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index 91e1590dc3..cb5f471837 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -265,7 +265,7 @@ LLLandmark* LLLandmarksPanel::getCurSelectedLandmark() const return NULL; } -LLFolderViewItem* LLLandmarksPanel::getCurSelectedItem () const +LLFolderViewItem* LLLandmarksPanel::getCurSelectedItem() const { return mCurrentSelectedList ? mCurrentSelectedList->getRootFolder()->getCurSelectedItem() : NULL; } diff --git a/indra/newview/llpanellandmarks.h b/indra/newview/llpanellandmarks.h index 0e7abb4865..6498f2c778 100644 --- a/indra/newview/llpanellandmarks.h +++ b/indra/newview/llpanellandmarks.h @@ -69,7 +69,7 @@ protected: bool isLandmarkSelected() const; bool isReceivedFolderSelected() const; LLLandmark* getCurSelectedLandmark() const; - LLFolderViewItem* getCurSelectedItem () const; + LLFolderViewItem* getCurSelectedItem() const; void updateSortOrder(LLInventoryPanel* panel, bool byDate); //LLRemoteParcelInfoObserver interface diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index bdfff9b2ab..f4c88b9f82 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -41,6 +41,7 @@ #include "llinventorypanel.h" #include "llfiltereditor.h" #include "llfloaterreg.h" +#include "llpreviewtexture.h" #include "llscrollcontainer.h" #include "llsdserialize.h" #include "llspinctrl.h" @@ -965,18 +966,11 @@ void LLPanelMainInventory::onCustomAction(const LLSD& userdata) } const LLUUID& item_id = current_item->getListener()->getUUID(); - LLFilePicker& file_picker = LLFilePicker::instance(); - const LLInventoryItem* item = gInventory.getItem(item_id); - if( !file_picker.getSaveFile( LLFilePicker::FFSAVE_TGA, item ? LLDir::getScrubbedFileName(item->getName()) : LLStringUtil::null) ) + LLPreviewTexture* preview_texture = LLFloaterReg::showTypedInstance("preview_texture", LLSD(item_id), TAKE_FOCUS_YES); + if (preview_texture) { - // User canceled or we failed to acquire save file. - return; + preview_texture->openToSave(); } - // remember the user-approved/edited file name. - const LLUUID& asset_id = item->getAssetUUID(); - LLPointer image = LLViewerTextureManager::getFetchedTexture(asset_id, MIPMAP_TRUE, FALSE, LLViewerTexture::LOD_TEXTURE); - image->setLoadedCallback( on_file_loaded_for_save, - 0, TRUE, FALSE, new std::string(file_picker.getFirstFile()) ); } } @@ -1002,6 +996,7 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) } return can_delete; } + return FALSE; } if (command_name == "save_texture") { @@ -1010,8 +1005,9 @@ BOOL LLPanelMainInventory::isActionEnabled(const LLSD& userdata) { return (current_item->getListener()->getInventoryType() == LLInventoryType::IT_TEXTURE); } + return FALSE; } - return FALSE; + return TRUE; } bool LLPanelMainInventory::handleDragAndDropToTrash(BOOL drop, EDragAndDropType cargo_type, EAcceptance* accept) @@ -1027,36 +1023,3 @@ bool LLPanelMainInventory::handleDragAndDropToTrash(BOOL drop, EDragAndDropType } return true; } - -void on_file_loaded_for_save(BOOL success, - LLViewerFetchedTexture *src_vi, - LLImageRaw* src, - LLImageRaw* aux_src, - S32 discard_level, - BOOL final, - void* userdata) -{ - std::string *filename = (std::string*) userdata; - - if (final && success) - { - LLPointer image_tga = new LLImageTGA; - if( !image_tga->encode( src ) ) - { - LLSD args; - args["FILE"] = *filename; - LLNotifications::instance().add("CannotEncodeFile", args); - } - else if( !image_tga->save( *filename ) ) - { - LLSD args; - args["FILE"] = *filename; - LLNotifications::instance().add("CannotWriteFile", args); - } - } - - if(!success ) - { - LLNotifications::instance().add("CannotDownloadFile"); - } -} diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 9c21faa3be..6324b0adf9 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -48,6 +48,7 @@ #include "lltextbox.h" #include "lltextureview.h" #include "llui.h" +#include "llviewerinventory.h" #include "llviewertexture.h" #include "llviewertexturelist.h" #include "lluictrlfactory.h" @@ -63,7 +64,7 @@ const F32 PREVIEW_TEXTURE_MIN_ASPECT = 0.005f; LLPreviewTexture::LLPreviewTexture(const LLSD& key) - : LLPreview( key ), + : LLPreview(key), mLoadingFullImage( FALSE ), mShowKeepDiscard(FALSE), mCopyToInv(FALSE), @@ -71,7 +72,8 @@ LLPreviewTexture::LLPreviewTexture(const LLSD& key) mUpdateDimensions(TRUE), mLastHeight(0), mLastWidth(0), - mAspectRatio(0.f) + mAspectRatio(0.f), + mPreviewToSave(FALSE) { const LLInventoryItem *item = getItem(); if(item) @@ -104,6 +106,10 @@ LLPreviewTexture::LLPreviewTexture(const LLSD& key) mIsCopyable = TRUE; } + if (key.has("save_as")) + { + mPreviewToSave = TRUE; + } //Called from floater reg: LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_texture.xml", FALSE); } @@ -181,6 +187,12 @@ void LLPreviewTexture::draw() if ( mImage.notNull() ) { + // Automatically bring up SaveAs dialog if we opened this to save the texture. + if (mPreviewToSave) + { + mPreviewToSave = FALSE; + saveAs(); + } // Draw the texture glColor3f( 1.f, 1.f, 1.f ); gl_draw_scaled_image(interior.mLeft, @@ -209,7 +221,7 @@ void LLPreviewTexture::draw() if( mLoadingFullImage ) { - LLFontGL::getFontSansSerif()->renderUTF8(LLTrans::getString("Receiving:"), 0, + LLFontGL::getFontSansSerif()->renderUTF8(LLTrans::getString("Receiving"), 0, interior.mLeft + 4, interior.mBottom + 4, LLColor4::white, LLFontGL::LEFT, LLFontGL::BOTTOM, @@ -304,6 +316,11 @@ void LLPreviewTexture::onFocusReceived() LLPreview::onFocusReceived(); } +void LLPreviewTexture::openToSave() +{ + mPreviewToSave = TRUE; +} + // static void LLPreviewTexture::onFileLoadedForSave(BOOL success, LLViewerFetchedTexture *src_vi, @@ -356,6 +373,7 @@ void LLPreviewTexture::onFileLoadedForSave(BOOL success, { LLNotifications::instance().add("CannotDownloadFile"); } + } diff --git a/indra/newview/llpreviewtexture.h b/indra/newview/llpreviewtexture.h index 520626b49f..9b3c91d831 100644 --- a/indra/newview/llpreviewtexture.h +++ b/indra/newview/llpreviewtexture.h @@ -67,8 +67,7 @@ public: S32 discard_level, BOOL final, void* userdata ); - - + void openToSave(); protected: void init(); /* virtual */ BOOL postBuild(); @@ -77,14 +76,17 @@ protected: private: void updateDimensions(); - LLUUID mImageID; + LLUUID mImageID; LLPointer mImage; BOOL mLoadingFullImage; std::string mSaveFileName; LLFrameTimer mSavedFileTimer; BOOL mShowKeepDiscard; BOOL mCopyToInv; - + + // Save the image once it's loaded. + BOOL mPreviewToSave; + // This is stored off in a member variable, because the save-as // button and drag and drop functionality need to know. BOOL mIsCopyable; @@ -94,6 +96,4 @@ private: F32 mAspectRatio; BOOL mUpdateDimensions; }; - - #endif // LL_LLPREVIEWTEXTURE_H diff --git a/indra/newview/skins/default/xui/en/menu_inventory.xml b/indra/newview/skins/default/xui/en/menu_inventory.xml index 62940b87dc..8b6ab4e4d8 100644 --- a/indra/newview/skins/default/xui/en/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en/menu_inventory.xml @@ -550,6 +550,16 @@ function="Inventory.DoToSelected" parameter="deactivate" /> + + + + Date: Fri, 6 Nov 2009 15:16:40 -0800 Subject: EXT-1576 "Zoom In" menu option should be disabled when the person is not in range EXT-2306 Default voice input/output pref panel to closed --- indra/newview/llfloatervoicedevicesettings.cpp | 3 +++ indra/newview/llinspectavatar.cpp | 9 +++++++++ .../skins/default/xui/en/menu_inspect_avatar_gear.xml | 2 ++ .../skins/default/xui/en/panel_preferences_sound.xml | 13 ------------- 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatervoicedevicesettings.cpp b/indra/newview/llfloatervoicedevicesettings.cpp index bbeb287171..43024a4bd0 100644 --- a/indra/newview/llfloatervoicedevicesettings.cpp +++ b/indra/newview/llfloatervoicedevicesettings.cpp @@ -95,6 +95,9 @@ void LLPanelVoiceDeviceSettings::handleVisibilityChange ( BOOL new_visibility ) else { cleanup(); + // when closing this window, turn of visiblity control so that + // next time preferences is opened we don't suspend voice + gSavedSettings.setBOOL("ShowDeviceSettings", FALSE); } } void LLPanelVoiceDeviceSettings::draw() diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp index bfad2b1624..0329e740af 100644 --- a/indra/newview/llinspectavatar.cpp +++ b/indra/newview/llinspectavatar.cpp @@ -47,6 +47,7 @@ #include "llstartup.h" #include "llviewermenu.h" #include "llvoiceclient.h" +#include "llviewerobjectlist.h" // Linden libraries #include "llfloater.h" @@ -113,6 +114,7 @@ private: void onClickFindOnMap(); bool onVisibleFindOnMap(); bool onVisibleFreezeEject(); + bool onVisibleZoomIn(); void onClickMuteVolume(); void onVolumeChange(const LLSD& data); @@ -203,6 +205,8 @@ LLInspectAvatar::LLInspectAvatar(const LLSD& sd) mVisibleCallbackRegistrar.add("InspectAvatar.VisibleFindOnMap", boost::bind(&LLInspectAvatar::onVisibleFindOnMap, this)); mVisibleCallbackRegistrar.add("InspectAvatar.VisibleFreezeEject", boost::bind(&LLInspectAvatar::onVisibleFreezeEject, this)); + mVisibleCallbackRegistrar.add("InspectAvatar.VisibleZoomIn", + boost::bind(&LLInspectAvatar::onVisibleZoomIn, this)); // can't make the properties request until the widgets are constructed // as it might return immediately, so do it in postBuild. @@ -464,6 +468,11 @@ bool LLInspectAvatar::onVisibleFreezeEject() return enable_freeze_eject( LLSD(mAvatarID) ); } +bool LLInspectAvatar::onVisibleZoomIn() +{ + return gObjectList.findObject(mAvatarID); +} + void LLInspectAvatar::onClickIM() { LLAvatarActions::startIM(mAvatarID); diff --git a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml index 6049476a43..db2c9ea0fb 100644 --- a/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml +++ b/indra/newview/skins/default/xui/en/menu_inspect_avatar_gear.xml @@ -101,6 +101,8 @@ name="zoom_in"> + - -