diff options
author | Armin Weatherwax | 2010-08-27 00:56:44 +0200 |
---|---|---|
committer | McCabe Maxsted | 2010-08-29 01:29:39 -0700 |
commit | a18a1016cb6a1017ca5fd3bbac3d1197174ce078 (patch) | |
tree | a196a7d7e518fe937aed48a6561ae13e890b7347 | |
parent | Katharine Berry: More centralised .wl checks. (diff) | |
download | meta-impy-a18a1016cb6a1017ca5fd3bbac3d1197174ce078.zip meta-impy-a18a1016cb6a1017ca5fd3bbac3d1197174ce078.tar.gz meta-impy-a18a1016cb6a1017ca5fd3bbac3d1197174ce078.tar.bz2 meta-impy-a18a1016cb6a1017ca5fd3bbac3d1197174ce078.tar.xz |
Katharine Berry: Added understanding of .ww notecards to inventory panel.
-rw-r--r-- | linden/indra/newview/llinventorybridge.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/textures/textures.xml | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_inventory.xml | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/newview/llinventorybridge.cpp b/linden/indra/newview/llinventorybridge.cpp index a3fc36e..a3a6e78 100644 --- a/linden/indra/newview/llinventorybridge.cpp +++ b/linden/indra/newview/llinventorybridge.cpp | |||
@@ -3102,6 +3102,10 @@ void LLNotecardBridge::buildContextMenu(LLMenuGL& menu, U32 flags) | |||
3102 | { | 3102 | { |
3103 | items.push_back(std::string("Use WindLight Settings")); | 3103 | items.push_back(std::string("Use WindLight Settings")); |
3104 | } | 3104 | } |
3105 | else if(isWaterSetting()) | ||
3106 | { | ||
3107 | items.push_back(std::string("Use WaterLight Settings")); | ||
3108 | } | ||
3105 | items.push_back(std::string("Edit WindLight Settings")); | 3109 | items.push_back(std::string("Edit WindLight Settings")); |
3106 | } | 3110 | } |
3107 | items.push_back(std::string("Properties")); | 3111 | items.push_back(std::string("Properties")); |
diff --git a/linden/indra/newview/skins/default/textures/textures.xml b/linden/indra/newview/skins/default/textures/textures.xml index fef6c05..0b4a088 100644 --- a/linden/indra/newview/skins/default/textures/textures.xml +++ b/linden/indra/newview/skins/default/textures/textures.xml | |||
@@ -378,5 +378,5 @@ | |||
378 | 378 | ||
379 | <!-- Kitty Viewer Art --> | 379 | <!-- Kitty Viewer Art --> |
380 | <texture name="Inv_WindLight" file_name="Inv_WindLight.png" preload="false" /> | 380 | <texture name="Inv_WindLight" file_name="Inv_WindLight.png" preload="false" /> |
381 | 381 | <texture name="Inv_WaterLight" file_name="Inv_WaterLight.png" preload="false" /> | |
382 | </textures> | 382 | </textures> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_inventory.xml b/linden/indra/newview/skins/default/xui/en-us/menu_inventory.xml index 2c837a2..78fc75e 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_inventory.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_inventory.xml | |||
@@ -145,6 +145,10 @@ | |||
145 | name="Use WindLight Settings" width="128"> | 145 | name="Use WindLight Settings" width="128"> |
146 | <on_click filter="" function="Inventory.DoToSelected" userdata="load_windlight" /> | 146 | <on_click filter="" function="Inventory.DoToSelected" userdata="load_windlight" /> |
147 | </menu_item_call> | 147 | </menu_item_call> |
148 | <menu_item_call bottom_delta="-18" height="18" label="Use Water Settings" left="0" mouse_opaque="true" | ||
149 | name="Use WaterLight Settings" width="128"> | ||
150 | <on_click filter="" function="Inventory.DoToSelected" userdata="load_waterlight" /> | ||
151 | </menu_item_call> | ||
148 | <menu_item_call bottom_delta="-18" height="18" label="Edit WindLight Settings" left="0" mouse_opaque="true" | 152 | <menu_item_call bottom_delta="-18" height="18" label="Edit WindLight Settings" left="0" mouse_opaque="true" |
149 | name="Edit WindLight Settings" width="128"> | 153 | name="Edit WindLight Settings" width="128"> |
150 | <on_click filter="" function="Inventory.DoToSelected" userdata="edit_windlight" /> | 154 | <on_click filter="" function="Inventory.DoToSelected" userdata="edit_windlight" /> |