aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-11 21:43:35 +0100
committerJustin Clark-Casey (justincc)2012-07-11 21:43:35 +0100
commitfc2456320646df66b95a06d4cd292c3b2385a8ea (patch)
treec1f7eaf2c679a9e7d039240146510ffc6a744cd1 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
parentAdd regression TestRezScriptedAttachmentsFromInventory() though this currentl... (diff)
downloadopensim-SC_OLD-fc2456320646df66b95a06d4cd292c3b2385a8ea.zip
opensim-SC_OLD-fc2456320646df66b95a06d4cd292c3b2385a8ea.tar.gz
opensim-SC_OLD-fc2456320646df66b95a06d4cd292c3b2385a8ea.tar.bz2
opensim-SC_OLD-fc2456320646df66b95a06d4cd292c3b2385a8ea.tar.xz
Add regression TestDetachScriptedAttachmentToInventory()
This currently only does a relatively crude check for a ScriptState node in the serialized xml
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index efcae94..e07ae1c 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1676,12 +1676,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1676 1676
1677 public string GetXMLState(UUID itemID) 1677 public string GetXMLState(UUID itemID)
1678 { 1678 {
1679// m_log.DebugFormat("[XEngine]: Getting XML state for {0}", itemID); 1679// m_log.DebugFormat("[XEngine]: Getting XML state for script instance {0}", itemID);
1680 1680
1681 IScriptInstance instance = GetInstance(itemID); 1681 IScriptInstance instance = GetInstance(itemID);
1682 if (instance == null) 1682 if (instance == null)
1683 { 1683 {
1684// m_log.DebugFormat("[XEngine]: Found no script for {0}, returning empty string", itemID); 1684// m_log.DebugFormat("[XEngine]: Found no script instance for {0}, returning empty string", itemID);
1685 return ""; 1685 return "";
1686 } 1686 }
1687 1687