mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024
This commit is contained in:
@@ -65,7 +65,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
|
||||
{
|
||||
IInventoryService invService = m_scene.InventoryService;
|
||||
|
||||
InventoryItemBase item = invService.GetItem(new InventoryItemBase(gestureId));
|
||||
InventoryItemBase item = new InventoryItemBase(gestureId, client.AgentId);
|
||||
item = invService.GetItem(item);
|
||||
if (item != null)
|
||||
{
|
||||
item.Flags = 1;
|
||||
@@ -80,7 +81,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
|
||||
{
|
||||
IInventoryService invService = m_scene.InventoryService;
|
||||
|
||||
InventoryItemBase item = invService.GetItem(new InventoryItemBase(gestureId));
|
||||
InventoryItemBase item = new InventoryItemBase(gestureId, client.AgentId);
|
||||
item = invService.GetItem(item);
|
||||
if (item != null)
|
||||
{
|
||||
item.Flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user