Remove extra checking on the itemID of saved state, since it changes during

rez from inventory.
mysql-performance
Melanie 2009-12-21 06:41:10 +00:00
parent f6ef487413
commit 83d8ba5775
1 changed files with 5 additions and 4 deletions

View File

@ -1394,10 +1394,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine
if (rootE.GetAttribute("Engine") != ScriptEngineName) if (rootE.GetAttribute("Engine") != ScriptEngineName)
return; return;
if (rootE.GetAttribute("UUID") != itemID.ToString()) // On rez from inventory, that ID will have changed. It was only
return; // advisory anyway. So we don't check it anymore.
//
// string assetID = rootE.GetAttribute("Asset"); // if (rootE.GetAttribute("UUID") != itemID.ToString())
// return;
XmlNodeList stateL = rootE.GetElementsByTagName("ScriptState"); XmlNodeList stateL = rootE.GetElementsByTagName("ScriptState");