RLVa impl updated to that used in v3. Hooked RLVa restrictions back into wearables. New RLVa floater: 'Locks...' Also updated 'Restrictions...' floater.
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
#include "llsurface.h"
|
||||
#include "llvosky.h"
|
||||
#include "llvotree.h"
|
||||
#include "llvoavatar.h"
|
||||
#include "llvoavatarself.h"
|
||||
#include "llfolderview.h"
|
||||
#include "lltoolbar.h"
|
||||
#include "llframestats.h"
|
||||
@@ -1374,6 +1374,14 @@ extern void cleanup_pose_stand(void);
|
||||
|
||||
bool LLAppViewer::cleanup()
|
||||
{
|
||||
|
||||
//HACK: the selectmgr may hold a ref to gAgentAvatarp, which will defer the actual
|
||||
// destruction until LLSelectMgr::cleanupGlobals() is called AFTER the UI has been destroyed.
|
||||
// This presents issue, as ~LLVOAvatarSelf spawns notifications if DebugAvatarRezTime is true, which will
|
||||
// crash if the UI has been destroyed before then.
|
||||
LLSelectMgr::getInstance()->remove(gAgentAvatarp, SELECT_ALL_TES, false);
|
||||
//ditch LLVOAvatarSelf instance
|
||||
gAgentAvatarp = NULL;
|
||||
cleanup_pose_stand();
|
||||
|
||||
//flag all elements as needing to be destroyed immediately
|
||||
|
||||
Reference in New Issue
Block a user