Remove extra checking on the itemID of saved state, since it changes during
rez from inventory.mysql-performance
parent
f6ef487413
commit
83d8ba5775
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue