Add AlchemyConnectToNeighbors
This commit is contained in:
@@ -1352,6 +1352,14 @@ static LLFastTimer::DeclareTimer FTM_ENABLE_SIMULATOR("Enable Sim");
|
||||
void process_enable_simulator(LLMessageSystem *msg, void **user_data)
|
||||
{
|
||||
LLFastTimer t(FTM_ENABLE_SIMULATOR);
|
||||
|
||||
if (!gAgent.getRegion())
|
||||
return;
|
||||
|
||||
static const LLCachedControl<bool> connectToNeighbors(gSavedSettings, "AlchemyConnectToNeighbors");
|
||||
if (!connectToNeighbors && ((gAgent.getTeleportState() == LLAgent::TELEPORT_LOCAL) || (gAgent.getTeleportState() == LLAgent::TELEPORT_NONE)))
|
||||
return;
|
||||
|
||||
// enable the appropriate circuit for this simulator and
|
||||
// add its values into the gSimulator structure
|
||||
U64 handle;
|
||||
|
||||
Reference in New Issue
Block a user