* Moved TexturePipeline into libOpenMetaverse (still needs to be instantiated separately)
* Moved TextureCache into its own file * New version of Periscope, major improvements. Check the Simian.ini file for usage, and change the const values in Periscope.cs * Lots of miscellaneous cleanups and improvements in Simian git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2383 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -62,6 +62,12 @@ namespace Simian.Extensions
|
||||
return agent.Animations.Remove(animID);
|
||||
}
|
||||
|
||||
public bool ClearAnimations(Agent agent)
|
||||
{
|
||||
agent.Animations.Clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
public void SendAnimations(Agent agent)
|
||||
{
|
||||
AvatarAnimationPacket sendAnim = new AvatarAnimationPacket();
|
||||
@@ -104,7 +110,7 @@ namespace Simian.Extensions
|
||||
// Remove the avatar from the scene
|
||||
SimulationObject obj;
|
||||
if (server.Scene.TryGetObject(agent.AgentID, out obj))
|
||||
server.Scene.ObjectRemove(this, obj);
|
||||
server.Scene.ObjectRemove(this, obj.Prim.LocalID);
|
||||
else
|
||||
Logger.Log("Disconnecting an agent that is not in the scene", Helpers.LogLevel.Warning);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user