mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Minor formatting cleanup.
This commit is contained in:
@@ -121,7 +121,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
|
||||
|
||||
public void setEstateTerrainBaseTexture(IClientAPI remoteClient, int corner, LLUUID texture)
|
||||
{
|
||||
if(texture == LLUUID.Zero)
|
||||
if (texture == LLUUID.Zero)
|
||||
return;
|
||||
|
||||
switch (corner)
|
||||
@@ -761,10 +761,10 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
|
||||
if (m_scene.RegionInfo.RegionSettings.Sandbox)
|
||||
flags |= Simulator.RegionFlags.Sandbox;
|
||||
|
||||
// Fudge these to always on, so the menu options activate
|
||||
//
|
||||
flags |= Simulator.RegionFlags.AllowLandmark;
|
||||
flags |= Simulator.RegionFlags.AllowSetHome;
|
||||
// Fudge these to always on, so the menu options activate
|
||||
//
|
||||
flags |= Simulator.RegionFlags.AllowLandmark;
|
||||
flags |= Simulator.RegionFlags.AllowSetHome;
|
||||
|
||||
// TODO: SkipUpdateInterestList
|
||||
|
||||
|
||||
@@ -166,8 +166,8 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
if (estateModule != null)
|
||||
regionFlags = estateModule.GetRegionFlags();
|
||||
|
||||
// In a perfect world, this would have worked.
|
||||
//
|
||||
// In a perfect world, this would have worked.
|
||||
//
|
||||
// if ((landData.Flags & (uint)Parcel.ParcelFlags.AllowLandmark) != 0)
|
||||
// regionFlags |= (uint)Simulator.RegionFlags.AllowLandmark;
|
||||
// if (landData.OwnerID == remote_client.AgentId)
|
||||
|
||||
@@ -365,10 +365,10 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
|
||||
get { return 0; }
|
||||
}
|
||||
|
||||
public ulong GetGroupPowers(LLUUID groupID)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public ulong GetGroupPowers(LLUUID groupID)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public virtual int NextAnimationSequenceNumber
|
||||
{
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain
|
||||
set
|
||||
{
|
||||
// Will "fix" terrain hole problems. Although not fantastically.
|
||||
if(Double.IsNaN(value) || Double.IsInfinity(value))
|
||||
if (Double.IsNaN(value) || Double.IsInfinity(value))
|
||||
return;
|
||||
|
||||
if (map[x, y] != value)
|
||||
@@ -231,4 +231,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user