From e98a52a211e7c5d0fad777e561e5a55fcd3e28cd Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 20 May 2010 14:00:56 -0700 Subject: tweaked media attenuation to better match object sound attenuation --- indra/newview/app_settings/settings.xml | 4 ++-- indra/newview/llviewermedia.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 7156af57ec..d1bff55011 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -5960,7 +5960,7 @@ Type F32 Value - 0.2 + 0.125 MediaRollOffMin @@ -5971,7 +5971,7 @@ Type F32 Value - 7.0 + 5.0 MediaRollOffMax diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 4db05e8a98..1c1c86d3cd 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -1937,7 +1937,7 @@ void LLViewerMediaImpl::updateVolume() // attenuated_volume = 1 / (roll_off_rate * (d - min))^2 // the +1 is there so that for distance 0 the volume stays the same F64 adjusted_distance = mProximityCamera - gSavedSettings.getF32("MediaRollOffMin"); - F64 attenuation = gSavedSettings.getF32("MediaRollOffRate") * adjusted_distance; + F64 attenuation = 1.f + (gSavedSettings.getF32("MediaRollOffRate") * adjusted_distance); attenuation = 1.0 / (attenuation * attenuation); // the attenuation multiplier should never be more than one since that would increase volume volume = volume * llmin(1.0, attenuation); -- cgit v1.2.3 From a781dd767c095470897049b5ae1a91523214b39a Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Tue, 25 May 2010 13:27:17 +0100 Subject: VWR-13743 FIXED Change Request: Change double click action for inventory wearables DEV-33391 FIXED Change Request: Change double click action for inventory wearables Pulled this from the AvP backlog and implemented it, as it's a pain point from Ben's usability findings. And people loooove this in 3rd party viewers. (transplanted from cd0857d027305aec3dbdfe1940a04f7827e3a656) --- indra/newview/llinventorybridge.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 2d27c89074..0f532236e4 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4143,21 +4143,9 @@ void LLObjectBridge::performAction(LLInventoryModel* model, std::string action) void LLObjectBridge::openItem() { - LLViewerInventoryItem* item = getItem(); - - if (item) - { - LLInvFVBridgeAction::doAction(item->getType(),mUUID,getInventoryModel()); - } - - LLSD key; - key["id"] = mUUID; - LLSideTray::getInstance()->showPanel("sidepanel_inventory", key); - - // Disable old properties floater; this is replaced by the sidepanel. - /* - LLFloaterReg::showInstance("properties", mUUID); - */ + // object double-click action is to wear/unwear object + performAction(getInventoryModel(), + get_is_item_worn(mUUID) ? "detach" : "attach"); } LLFontGL::StyleFlags LLObjectBridge::getLabelStyle() const -- cgit v1.2.3 From 8da5677f8a233ed7769b6414ed5223d75512d887 Mon Sep 17 00:00:00 2001 From: Eli Linden Date: Tue, 25 May 2010 11:17:21 -0700 Subject: ND-46735 WIP IT JA linguistic --- indra/newview/skins/default/xui/ja/floater_about_land.xml | 10 +++++----- indra/newview/skins/default/xui/ja/floater_postcard.xml | 6 +++--- indra/newview/skins/default/xui/ja/floater_tools.xml | 12 ++++++------ indra/newview/skins/default/xui/ja/menu_participant_list.xml | 2 +- indra/newview/skins/default/xui/ja/notifications.xml | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/ja/floater_about_land.xml b/indra/newview/skins/default/xui/ja/floater_about_land.xml index d23ab3565b..10c27a2b33 100644 --- a/indra/newview/skins/default/xui/ja/floater_about_land.xml +++ b/indra/newview/skins/default/xui/ja/floater_about_land.xml @@ -308,10 +308,10 @@ (なし) - プッシングを制限 + プッシュ禁止 - プッシングを制限 (地域設定優先) + プッシュ禁止 (地域設定優先) 他の住人への許可: @@ -337,7 +337,7 @@ 土地オプション: - + @@ -355,7 +355,7 @@ - + @@ -379,7 +379,7 @@