Correct prim counts for group land. Correct MessageTransferModule startup
parent
598316c890
commit
bb936d8a2f
|
@ -53,20 +53,17 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
|
||||||
|
|
||||||
public void Initialise(Scene scene, IConfigSource config)
|
public void Initialise(Scene scene, IConfigSource config)
|
||||||
{
|
{
|
||||||
if (config.Configs["Messaging"] != null)
|
IConfig cnf = config.Configs["Messaging"];
|
||||||
{
|
if (cnf != null && cnf.GetString(
|
||||||
IConfig cnf = config.Configs["Messaging"];
|
"MessageTransferModule", "MessageTransferModule") !=
|
||||||
if (cnf != null && cnf.GetString(
|
"MessageTransferModule")
|
||||||
"MessageTransferModule", "MessageTransferModule") !=
|
return;
|
||||||
"MessageTransferModule")
|
|
||||||
return;
|
|
||||||
|
|
||||||
cnf = config.Configs["Startup"];
|
cnf = config.Configs["Startup"];
|
||||||
if (cnf != null)
|
if (cnf != null)
|
||||||
m_Gridmode = cnf.GetBoolean("gridmode", false);
|
m_Gridmode = cnf.GetBoolean("gridmode", false);
|
||||||
|
|
||||||
m_Enabled = true;
|
m_Enabled = true;
|
||||||
}
|
|
||||||
|
|
||||||
lock (m_Scenes)
|
lock (m_Scenes)
|
||||||
{
|
{
|
||||||
|
|
|
@ -827,8 +827,9 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||||
{
|
{
|
||||||
landData.OwnerPrims += prim_count;
|
landData.OwnerPrims += prim_count;
|
||||||
}
|
}
|
||||||
else if (obj.GroupID == landData.GroupID ||
|
else if ((obj.GroupID == landData.GroupID ||
|
||||||
prim_owner == landData.GroupID)
|
prim_owner == landData.GroupID) &&
|
||||||
|
landData.GroupID != UUID.Zero)
|
||||||
{
|
{
|
||||||
landData.GroupPrims += prim_count;
|
landData.GroupPrims += prim_count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue