summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2011-12-16 11:06:36 -0800
committerTodd Stinson <stinson@lindenlab.com>2011-12-16 11:06:36 -0800
commit6b2df5d57a4d973dea8cac99feb47330ccaa2397 (patch)
tree83744f63616d4fc83396b1dbae81805adcc83e47 /indra/newview/skins
parentdcd945fc74b57313da96e97f7de4ee0b6b81ef70 (diff)
Moving the pathfinding console link into the toolbar under the Build menu.
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml66
1 files changed, 38 insertions, 28 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 28e9052ddb..d2a5556124 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -692,34 +692,6 @@
function="Build.Enabled" />
</menu_item_check>
- <menu
- create_jump_keys="true"
- label="Pathing Tools"
- name="Pathing Tools"
- tear_off="true"
- visible="true">
- <menu_item_call
- label="Retrieve Navigation Mesh Src"
- name="Show Pathing Tools">
- <menu_item_call.on_click
- function="PathingTools.RetrieveSrc" />
- </menu_item_call>
-
- <menu_item_call
- label="Toggle Navigation Mesh Display"
- name="Toggle Navigation Mesh View">
- <menu_item_call.on_click
- function="PathingTools.ToggleNavMeshView" />
- </menu_item_call>
-
- <menu_item_call
- label="Toggle Navigation Mesh Shape Display"
- name="Toggle Navigation Mesh Shape View">
- <menu_item_call.on_click
- function="PathingTools.ToggleNavMeshShapeView" />
- </menu_item_call>
- </menu>
-
<menu
create_jump_keys="true"
label="Select Build Tool"
@@ -976,6 +948,44 @@
</menu_item_call>
</menu>
+ <menu_item_call
+ label="Pathfinding..."
+ name="pathfinding_menu_item">
+ <menu_item_call.on_click
+ function="Floater.ToggleOrBringToFront"
+ parameter="pathfinding_console" />
+ </menu_item_call>
+
+ <menu_item_separator/>
+
+ <menu
+ create_jump_keys="true"
+ label="Pathing Tools"
+ name="Pathing Tools"
+ tear_off="true"
+ visible="true">
+ <menu_item_call
+ label="Retrieve Navigation Mesh Src"
+ name="Show Pathing Tools">
+ <menu_item_call.on_click
+ function="PathingTools.RetrieveSrc" />
+ </menu_item_call>
+
+ <menu_item_call
+ label="Toggle Navigation Mesh Display"
+ name="Toggle Navigation Mesh View">
+ <menu_item_call.on_click
+ function="PathingTools.ToggleNavMeshView" />
+ </menu_item_call>
+
+ <menu_item_call
+ label="Toggle Navigation Mesh Shape Display"
+ name="Toggle Navigation Mesh Shape View">
+ <menu_item_call.on_click
+ function="PathingTools.ToggleNavMeshShapeView" />
+ </menu_item_call>
+ </menu>
+
<menu_item_separator/>
<menu