Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
f984922dfd
|
@ -28,6 +28,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using OpenSim.Region.Framework.Interfaces;
|
using OpenSim.Region.Framework.Interfaces;
|
||||||
|
using OpenMetaverse;
|
||||||
|
|
||||||
namespace OpenSim.Region.CoreModules.Framework.InterfaceCommander
|
namespace OpenSim.Region.CoreModules.Framework.InterfaceCommander
|
||||||
{
|
{
|
||||||
|
@ -152,6 +153,9 @@ namespace OpenSim.Region.CoreModules.Framework.InterfaceCommander
|
||||||
case "Boolean":
|
case "Boolean":
|
||||||
m_args[i].ArgumentValue = Boolean.Parse(arg.ToString());
|
m_args[i].ArgumentValue = Boolean.Parse(arg.ToString());
|
||||||
break;
|
break;
|
||||||
|
case "UUID":
|
||||||
|
m_args[i].ArgumentValue = UUID.Parse(arg.ToString());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
Console.WriteLine("ERROR: Unknown desired type for argument " + m_args[i].Name + " on command " + m_name);
|
Console.WriteLine("ERROR: Unknown desired type for argument " + m_args[i].Name + " on command " + m_name);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -917,7 +917,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
string tile = startupConfig.GetString("MaptileStaticUUID", UUID.Zero.ToString());
|
string tile = startupConfig.GetString("MaptileStaticUUID", UUID.Zero.ToString());
|
||||||
UUID tileID;
|
UUID tileID;
|
||||||
|
|
||||||
if ((tile!=UUID.Zero.ToString()) && UUID.TryParse(tile, out tileID))
|
if (tile != UUID.Zero.ToString() && UUID.TryParse(tile, out tileID))
|
||||||
{
|
{
|
||||||
RegionInfo.RegionSettings.TerrainImageID = tileID;
|
RegionInfo.RegionSettings.TerrainImageID = tileID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue