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:
@@ -51,6 +51,7 @@
|
||||
#include "lltoolselectland.h"
|
||||
#include "lltoolobjpicker.h"
|
||||
#include "lltoolpipette.h"
|
||||
#include "llviewerparcelmgr.h"
|
||||
#include "llagent.h"
|
||||
#include "llagentcamera.h"
|
||||
#include "llviewercontrol.h"
|
||||
@@ -240,6 +241,10 @@ BOOL LLToolMgr::inEdit()
|
||||
return mBaseTool != LLToolPie::getInstance() && mBaseTool != gToolNull;
|
||||
}
|
||||
|
||||
bool LLToolMgr::canEdit()
|
||||
{
|
||||
return LLViewerParcelMgr::getInstance()->allowAgentBuild();
|
||||
}
|
||||
bool LLToolMgr::inBuildMode()
|
||||
{
|
||||
// when entering mouselook inEdit() immediately returns true before
|
||||
|
||||
Reference in New Issue
Block a user