You can now substitute %name% in the filename argument for terrain save & load commands to input the sims name. Useful for sugilite regions where you are running multiple sims in a single instance and need to get them to load or save in a pattern. (Needs cleaning & expansion)

This commit is contained in:
Adam Frisby
2007-07-02 23:52:18 +00:00
parent 96dfb33bca
commit 315a49e7fd
2 changed files with 4 additions and 2 deletions

View File

@@ -429,7 +429,7 @@ namespace OpenSim
string result = "";
for (int i = 0; i < m_localWorld.Count; i++)
{
if (!((Scene)m_localWorld[i]).Terrain.RunTerrainCmd(cmdparams, ref result))
if (!((Scene)m_localWorld[i]).Terrain.RunTerrainCmd(cmdparams, ref result,m_localWorld[i].RegionInfo.RegionName))
{
m_log.Error(result);
}