diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog.txt | 10 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 17 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 1 |
3 files changed, 26 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index ba6afaf..db66bc3 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,12 +1,12 @@ | |||
1 | 2009-09-06 McCabe Maxsted <hakushakukun@gmail.com> | 1 | 2009-09-06 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 2 | ||
3 | * Ported sit anywhere feature from Emerald viewer. | 3 | * Applied sit anywhere feature from Emerald viewer. |
4 | 4 | ||
5 | modified: linden/indra/newview/llviewermenu.cpp | 5 | modified: linden/indra/newview/llviewermenu.cpp |
6 | modified: linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 6 | modified: linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml |
7 | 7 | ||
8 | 8 | ||
9 | * Ported phantom avatar option from Emerald viewer. | 9 | * Applied phantom avatar feature from Emerald viewer. |
10 | 10 | ||
11 | modified: linden/indra/newview/llagent.cpp | 11 | modified: linden/indra/newview/llagent.cpp |
12 | modified: linden/indra/newview/llagent.h | 12 | modified: linden/indra/newview/llagent.h |
@@ -52,6 +52,12 @@ | |||
52 | modified: linden/indra/newview/jcfloater_animation_list.cpp | 52 | modified: linden/indra/newview/jcfloater_animation_list.cpp |
53 | 53 | ||
54 | 54 | ||
55 | * Fixed ground sit menu entry missing check. | ||
56 | |||
57 | modified: linden/indra/newview/llviewermenu.cpp | ||
58 | modified: linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | ||
59 | |||
60 | |||
55 | 2009-09-04 McCabe Maxsted <hakushakukun@gmail.com> | 61 | 2009-09-04 McCabe Maxsted <hakushakukun@gmail.com> |
56 | 62 | ||
57 | * Updated GStreamer and Zlib windows libs. | 63 | * Updated GStreamer and Zlib windows libs. |
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 4c91a0a..cfc9a14 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -7589,6 +7589,22 @@ class LLAdvancedToggleSit: public view_listener_t | |||
7589 | } | 7589 | } |
7590 | }; | 7590 | }; |
7591 | 7591 | ||
7592 | class LLAdvancedCheckSit : public view_listener_t | ||
7593 | { | ||
7594 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
7595 | { | ||
7596 | if(gAgent.getAvatarObject()->mIsSitting) | ||
7597 | { | ||
7598 | gMenuHolder->findControl(userdata["control"].asString())->setValue(true); | ||
7599 | } | ||
7600 | else | ||
7601 | { | ||
7602 | gMenuHolder->findControl(userdata["control"].asString())->setValue(false); | ||
7603 | } | ||
7604 | return true; | ||
7605 | } | ||
7606 | }; | ||
7607 | |||
7592 | 7608 | ||
7593 | ///////////// | 7609 | ///////////// |
7594 | // PHANTOM // | 7610 | // PHANTOM // |
@@ -9819,6 +9835,7 @@ void initialize_menus() | |||
9819 | addMenu(new LLAdvancedDumpInfoToConsole(), "Advanced.DumpInfoToConsole"); | 9835 | addMenu(new LLAdvancedDumpInfoToConsole(), "Advanced.DumpInfoToConsole"); |
9820 | addMenu(new LLAdvancedReloadSettingsOverrides(), "Advanced.ReloadSettingsOverrides"); | 9836 | addMenu(new LLAdvancedReloadSettingsOverrides(), "Advanced.ReloadSettingsOverrides"); |
9821 | addMenu(new LLAdvancedToggleSit(), "Advanced.ToggleSit"); | 9837 | addMenu(new LLAdvancedToggleSit(), "Advanced.ToggleSit"); |
9838 | addMenu(new LLAdvancedCheckSit(), "Emerald.CheckSit"); | ||
9822 | addMenu(new LLAdvancedTogglePhantom(), "Advanced.TogglePhantom"); | 9839 | addMenu(new LLAdvancedTogglePhantom(), "Advanced.TogglePhantom"); |
9823 | addMenu(new LLAdvancedCheckPhantom(), "Advanced.CheckPhantom"); | 9840 | addMenu(new LLAdvancedCheckPhantom(), "Advanced.CheckPhantom"); |
9824 | addMenu(new LLAdvancedToggleAssetBrowser(),"Advanced.ToggleAssetBrowser"); | 9841 | addMenu(new LLAdvancedToggleAssetBrowser(),"Advanced.ToggleAssetBrowser"); |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 5407061..a53e339 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -887,6 +887,7 @@ | |||
887 | <menu_item_call label="Ground Sit" name="Ground Sit" | 887 | <menu_item_call label="Ground Sit" name="Ground Sit" |
888 | shortcut="control|alt|s"> | 888 | shortcut="control|alt|s"> |
889 | <on_click function="Advanced.ToggleSit" userdata="" /> | 889 | <on_click function="Advanced.ToggleSit" userdata="" /> |
890 | <on_Check function="Advanced.CheckSit" userdata="" /> | ||
890 | </menu_item_call> | 891 | </menu_item_call> |
891 | <menu_item_check label="Phantom Avatar" name="Phantom" | 892 | <menu_item_check label="Phantom Avatar" name="Phantom" |
892 | shortcut="control|alt|p"> | 893 | shortcut="control|alt|p"> |