remove LockItemsForRead(false) without previus call with true

This commit is contained in:
UbitUmarov
2014-09-21 23:02:02 +01:00
parent adda696cd0
commit f95bb53371
2 changed files with 1 additions and 3 deletions

View File

@@ -5283,7 +5283,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
return item.AssetID.ToString();
}
m_host.TaskInventory.LockItemsForRead(false);
return UUID.Zero.ToString();
}
@@ -10203,7 +10202,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
case 4:
return (int)item.NextPermissions;
}
m_host.TaskInventory.LockItemsForRead(false);
return -1;
}

View File

@@ -991,7 +991,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
else
animID = UUID.Zero;
}
m_host.TaskInventory.LockItemsForRead(false);
if (animID == UUID.Zero)
target.Animator.RemoveAnimation(animation);