[Simian]
* Clearing up confusion with Agent.Avatar by making it a SimulationObject that is passed in through the constructor. This should prevent duplicate notions of an avatar in the scene * Fixed the "you don't own this object" issue after moving a prim. The fix is rather hacky and will be replaced when we stop sending full object updates for every change git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2465 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -180,7 +180,7 @@ namespace Simian.Extensions
|
||||
|
||||
ImageNotInDatabasePacket notfound = new ImageNotInDatabasePacket();
|
||||
notfound.ImageID.ID = block.Image;
|
||||
server.UDP.SendPacket(agent.Avatar.ID, notfound, PacketCategory.Texture);
|
||||
server.UDP.SendPacket(agent.ID, notfound, PacketCategory.Texture);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -217,7 +217,7 @@ namespace Simian.Extensions
|
||||
Helpers.LogLevel.Error);
|
||||
}
|
||||
|
||||
server.UDP.SendPacket(agent.Avatar.ID, data, PacketCategory.Texture);
|
||||
server.UDP.SendPacket(agent.ID, data, PacketCategory.Texture);
|
||||
|
||||
// Check if ImagePacket packets need to be sent to complete this transfer
|
||||
if (download.CurrentPacket <= download.StopPacket)
|
||||
@@ -258,7 +258,7 @@ namespace Simian.Extensions
|
||||
imagePacketSize), Helpers.LogLevel.Error);
|
||||
}
|
||||
|
||||
server.UDP.SendPacket(agent.Avatar.ID, transfer, PacketCategory.Texture);
|
||||
server.UDP.SendPacket(agent.ID, transfer, PacketCategory.Texture);
|
||||
|
||||
++download.CurrentPacket;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user