* Establishing why new console commands fail to work. >_>
parent
57429423bb
commit
8605c5d2eb
|
@ -852,10 +852,11 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
|||
int x = (args.Length > 5 ? int.Parse(args[5]) : -1);
|
||||
int y = (args.Length > 6 ? int.Parse(args[6]) : -1);
|
||||
|
||||
if (x != -1 && m_scene.RegionInfo.RegionLocX != x)
|
||||
if (x == -1 || m_scene.RegionInfo.RegionLocX == x)
|
||||
{
|
||||
if (y != -1 && m_scene.RegionInfo.RegionLocY != y)
|
||||
if (y == -1 || m_scene.RegionInfo.RegionLocY == y)
|
||||
{
|
||||
m_log.Debug("[ESTATEMODULE] Setting terrain textures for " + m_scene.RegionInfo.RegionName);
|
||||
setEstateTerrainBaseTexture(null, int.Parse(num), UUID.Parse(uuid));
|
||||
}
|
||||
}
|
||||
|
@ -869,10 +870,11 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
|||
int x = (args.Length > 6 ? int.Parse(args[6]) : -1);
|
||||
int y = (args.Length > 7 ? int.Parse(args[7]) : -1);
|
||||
|
||||
if (x != -1 && m_scene.RegionInfo.RegionLocX != x)
|
||||
if (x == -1 || m_scene.RegionInfo.RegionLocX == x)
|
||||
{
|
||||
if (y != -1 && m_scene.RegionInfo.RegionLocY != y)
|
||||
if (y == -1 || m_scene.RegionInfo.RegionLocY == y)
|
||||
{
|
||||
m_log.Debug("[ESTATEMODULE] Setting terrain heights " + m_scene.RegionInfo.RegionName);
|
||||
setEstateTerrainTextureHeights(null, int.Parse(num), float.Parse(min), float.Parse(max));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue