diff options
| author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-24 17:19:36 +0200 | 
|---|---|---|
| committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-11-24 17:19:36 +0200 | 
| commit | fd669e7341a62c81dd1981cecb4cd00cd3448dd5 (patch) | |
| tree | f3c74965f901f5a7ef959bbfe579a17d26180c5b | |
| parent | 0b7bd115ad118a5792e4f835fe50ac6606fd0874 (diff) | |
EXP-1581 FOLLOWUP Main menu: fixed a typo, removed duplicated items.
| -rw-r--r-- | indra/newview/llviewermenu.cpp | 21 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/menu_viewer.xml | 20 | 
2 files changed, 1 insertions, 40 deletions
| diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 5056954ffb..74a43b66fa 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -7803,24 +7803,6 @@ class LLWorldPostProcess : public view_listener_t  	}  }; -class LLWorldToggleMovementControls : public view_listener_t -{ -	bool handleEvent(const LLSD& userdata) -	{ -		LLFloaterReg::toggleInstanceOrBringToFront("moveview"); -		return true; -	} -}; - -class LLWorldToggleCameraControls : public view_listener_t -{ -	bool handleEvent(const LLSD& userdata) -	{ -		LLFloaterReg::toggleInstanceOrBringToFront("camera"); -		return true; -	} -}; -  void handle_flush_name_caches()  {  	// Toggle display names on and off to flush @@ -8044,9 +8026,6 @@ void initialize_menus()  	view_listener_t::addMenu(new LLWorldEnableEnvPreset(), "World.EnableEnvPreset");  	view_listener_t::addMenu(new LLWorldPostProcess(), "World.PostProcess"); -	view_listener_t::addMenu(new LLWorldToggleMovementControls(), "World.Toggle.MovementControls"); -	view_listener_t::addMenu(new LLWorldToggleCameraControls(), "World.Toggle.CameraControls"); -  	// Tools menu  	view_listener_t::addMenu(new LLToolsSelectTool(), "Tools.SelectTool");  	view_listener_t::addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 3e779782e8..8e9e555c52 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -170,7 +170,7 @@           function="BuyCurrency" />        </menu_item_call>        <menu_item_call -           label="Accout dashboard..." +           label="Account dashboard..."             name="Manage My Account">          <menu_item_call.on_click           function="PromptShowURL" @@ -434,24 +434,6 @@             label="Show"             name="LandShow"             tear_off="true"> -         <menu_item_check -         label="Move Controls" -         name="Movement Controls"> -            <menu_item_check.on_check -             function="Floater.Visible" -             parameter="moveview" /> -            <menu_item_check.on_click -             function="World.Toggle.MovementControls" /> -        </menu_item_check> -        <menu_item_check -         label="View Controls" -         name="Camera Controls"> -            <menu_item_check.on_check -             function="Floater.Visible" -             parameter="camera" /> -            <menu_item_check.on_click -             function="World.Toggle.CameraControls" /> -        </menu_item_check>            <menu_item_check               label="Ban Lines"               name="Ban Lines"> | 
