diff options
author | Melanie Thielker | 2010-04-23 17:48:50 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-04-23 17:48:50 +0200 |
commit | 31e0704c8d7f6100153ddedd64be7f2ab1ad9311 (patch) | |
tree | 9381701e84174f94c03909706c79a9bb5752d105 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Fix a nullref in attachment handling. Add some debug to find the attachment (diff) | |
download | opensim-SC_OLD-31e0704c8d7f6100153ddedd64be7f2ab1ad9311.zip opensim-SC_OLD-31e0704c8d7f6100153ddedd64be7f2ab1ad9311.tar.gz opensim-SC_OLD-31e0704c8d7f6100153ddedd64be7f2ab1ad9311.tar.bz2 opensim-SC_OLD-31e0704c8d7f6100153ddedd64be7f2ab1ad9311.tar.xz |
Remove debug output, the culprit has been identified
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index ce4802d..04df35a 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -333,10 +333,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
333 | if (engines == null) // No engine at all | 333 | if (engines == null) // No engine at all |
334 | return; | 334 | return; |
335 | 335 | ||
336 | m_log.DebugFormat("[ScriptState]: Item ID changed: {0} to {1}", oldID, newID); | ||
337 | if (m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID)) | 336 | if (m_part.ParentGroup.m_savedScriptState.ContainsKey(oldID)) |
338 | { | 337 | { |
339 | m_log.DebugFormat("[ScriptState]: Found script state for {0}, applying to new script item {1}", oldID, newID); | ||
340 | XmlDocument doc = new XmlDocument(); | 338 | XmlDocument doc = new XmlDocument(); |
341 | 339 | ||
342 | doc.LoadXml(m_part.ParentGroup.m_savedScriptState[oldID]); | 340 | doc.LoadXml(m_part.ParentGroup.m_savedScriptState[oldID]); |
@@ -382,10 +380,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
382 | } | 380 | } |
383 | m_part.ParentGroup.m_savedScriptState.Remove(oldID); | 381 | m_part.ParentGroup.m_savedScriptState.Remove(oldID); |
384 | } | 382 | } |
385 | else | ||
386 | { | ||
387 | m_log.DebugFormat("[ScriptState]: No state for old ID {0}", oldID); | ||
388 | } | ||
389 | } | 383 | } |
390 | 384 | ||
391 | /// <summary> | 385 | /// <summary> |