Remove debug output, the culprit has been identified

avinationmerge
Melanie Thielker 2010-04-23 17:48:50 +02:00
parent 780630d7c0
commit 31e0704c8d
3 changed files with 0 additions and 8 deletions

View File

@ -1628,7 +1628,6 @@ namespace OpenSim.Region.Framework.Scenes
remoteClient.AgentId); remoteClient.AgentId);
AssetService.Store(asset); AssetService.Store(asset);
m_log.DebugFormat("[ScriptState]: Saved attachment as asset {0}", asset.FullID);
item.AssetID = asset.FullID; item.AssetID = asset.FullID;
item.Description = asset.Description; item.Description = asset.Description;
item.Name = asset.Name; item.Name = asset.Name;

View File

@ -612,7 +612,6 @@ namespace OpenSim.Region.Framework.Scenes
{ {
UUID itemid = new UUID(node.Attributes["UUID"].Value); UUID itemid = new UUID(node.Attributes["UUID"].Value);
m_savedScriptState.Add(itemid, node.InnerXml); m_savedScriptState.Add(itemid, node.InnerXml);
m_log.DebugFormat("[ScriptState]: Retrieved state for script item ID {0}", itemid.ToString());
} }
} }
} }

View File

@ -333,10 +333,8 @@ namespace OpenSim.Region.Framework.Scenes
if (engines == null) // No engine at all if (engines == null) // No engine at all
return; return;
m_log.DebugFormat("[ScriptState]: Item ID changed: {0} to {1}", oldID, newID);
if (m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID)) if (m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID))
{ {
m_log.DebugFormat("[ScriptState]: Found script state for {0}, applying to new script item {1}", oldID, newID);
XmlDocument doc = new XmlDocument(); XmlDocument doc = new XmlDocument();
doc.LoadXml(m_part.ParentGroup.m_savedScriptState[oldID]); doc.LoadXml(m_part.ParentGroup.m_savedScriptState[oldID]);
@ -382,10 +380,6 @@ namespace OpenSim.Region.Framework.Scenes
} }
m_part.ParentGroup.m_savedScriptState.Remove(oldID); m_part.ParentGroup.m_savedScriptState.Remove(oldID);
} }
else
{
m_log.DebugFormat("[ScriptState]: No state for old ID {0}", oldID);
}
} }
/// <summary> /// <summary>