Moved region rebake button to 'Tools' menu
This commit is contained in:
@@ -45,6 +45,7 @@ LLPathfindingObjectList::LLPathfindingObjectList()
|
||||
|
||||
LLPathfindingObjectList::~LLPathfindingObjectList()
|
||||
{
|
||||
clear();
|
||||
}
|
||||
|
||||
bool LLPathfindingObjectList::isEmpty() const
|
||||
@@ -52,6 +53,15 @@ bool LLPathfindingObjectList::isEmpty() const
|
||||
return mObjectMap.empty();
|
||||
}
|
||||
|
||||
void LLPathfindingObjectList::clear()
|
||||
{
|
||||
for (LLPathfindingObjectMap::iterator objectIter = mObjectMap.begin(); objectIter != mObjectMap.end(); ++objectIter)
|
||||
{
|
||||
objectIter->second.reset();
|
||||
}
|
||||
mObjectMap.clear();
|
||||
}
|
||||
|
||||
void LLPathfindingObjectList::update(LLPathfindingObjectPtr pUpdateObjectPtr)
|
||||
{
|
||||
if (pUpdateObjectPtr != NULL)
|
||||
|
||||
Reference in New Issue
Block a user