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)
return;
if (rootE.GetAttribute("UUID") != itemID.ToString())
return;
// string assetID = rootE.GetAttribute("Asset");
// On rez from inventory, that ID will have changed. It was only
// advisory anyway. So we don't check it anymore.
//
// if (rootE.GetAttribute("UUID") != itemID.ToString())
// return;
XmlNodeList stateL = rootE.GetElementsByTagName("ScriptState");