diff options
author | Todd Stinson <stinson@lindenlab.com> | 2011-12-16 17:30:12 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2011-12-16 17:30:12 -0800 |
commit | 64acf29c53639cbd3784f5bcc617b02985cbe412 (patch) | |
tree | be289059b8ce2a34fefb6d0436df67e7fdf483ab /indra/newview/llviewermenufile.cpp | |
parent | 6b2df5d57a4d973dea8cac99feb47330ccaa2397 (diff) |
Hooking the navmesh and exclusion volumes render states up to the pathfinding console floater.
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r-- | indra/newview/llviewermenufile.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index 850bf35c61..b5df16566a 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -80,36 +80,6 @@ // system libraries
#include <boost/tokenizer.hpp>
-class LLBuildNavMesh : public view_listener_t
-{
- bool handleEvent(const LLSD& userdata)
- {
- bool result = true;
- return result;
- }
-};
-class LLNavMeshRenderingToggle : public view_listener_t
-{
- bool handleEvent(const LLSD& userdata)
- {
- if ( LLPathingLib::getInstance() )
- {
- LLPathingLib::getInstance()->toggleRenderNavMeshState( );
- }
- return true;
- }
-};
-class LLNavMeshShapeRenderingToggle : public view_listener_t
-{
- bool handleEvent(const LLSD& userdata)
- {
- if ( LLPathingLib::getInstance() )
- {
- LLPathingLib::getInstance()->toggleRenderShapeState( );
- }
- return true;
- }
-};
//prep#
class LLPathingTools : public view_listener_t, LLNavMeshDownloadObserver
{
@@ -1342,7 +1312,5 @@ void init_menu_file() //prep#
view_listener_t::addCommit(new LLPathingTools(), "PathingTools.RetrieveSrc");
- view_listener_t::addCommit(new LLNavMeshRenderingToggle(), "PathingTools.ToggleNavMeshView");
- view_listener_t::addCommit(new LLNavMeshShapeRenderingToggle(), "PathingTools.ToggleNavMeshShapeView");
// "File.SaveTexture" moved to llpanelmaininventory so that it can be properly handled.
}
|