Add Pathfinding UI from v3
Added libpathing to LLPHYSICSEXTENSIONS_INCLUDE_DIRS llviewermenu updated a bit to be closer to v-d/rlva. Best viewed without space changes. Updated llresmgr.cpp from v-d to "handle special case of input value being zero" pipeline update: hideObject, restoreHiddenObject, hideDrawable, and unhideDrawable added. Thanks to Henri Beauchamp for some UI code touchups, thanks to Zi Ree for Rebake notification. Thanks to Mobius Ryba and Ansariel Hiller for the V1-style pathfinding icons. Note: When opening from pie menu object selection is lost, unless the floater is already open.. This provides a more reliable reproduction of the bug we've been having with inspect.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#include "llpathfindingnavmesh.h"
|
||||
#include "llpathfindingnavmeshstatus.h"
|
||||
#include "llpathfindingobject.h"
|
||||
//#include "llpathinglib.h"
|
||||
#include "llpathinglib.h"
|
||||
#include "llsingleton.h"
|
||||
#include "llsd.h"
|
||||
#include "lltrans.h"
|
||||
@@ -318,24 +318,23 @@ LLPathfindingManager::~LLPathfindingManager()
|
||||
|
||||
void LLPathfindingManager::initSystem()
|
||||
{
|
||||
/*if (LLPathingLib::getInstance() == NULL)
|
||||
if (LLPathingLib::getInstance() == NULL)
|
||||
{
|
||||
LLPathingLib::initSystem();
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
void LLPathfindingManager::quitSystem()
|
||||
{
|
||||
/*if (LLPathingLib::getInstance() != NULL)
|
||||
if (LLPathingLib::getInstance() != NULL)
|
||||
{
|
||||
LLPathingLib::quitSystem();
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
bool LLPathfindingManager::isPathfindingViewEnabled() const
|
||||
{
|
||||
return false;
|
||||
//return (LLPathingLib::getInstance() != NULL);
|
||||
return (LLPathingLib::getInstance() != NULL);
|
||||
}
|
||||
|
||||
bool LLPathfindingManager::isPathfindingEnabledForCurrentRegion() const
|
||||
|
||||
Reference in New Issue
Block a user