* Fixed object duplication regression
* Cleaned up the mess that was adding an agent to the scene
* Sitting kind of works ("proper" sitting is extremely complex and requires a lot of computation)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2466 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-03-03 22:25:29 +00:00
parent 871ffb42a6
commit 96acab524b
3 changed files with 55 additions and 58 deletions

View File

@@ -182,7 +182,9 @@ namespace Simian.Extensions
{
SimulationObject newObj = new SimulationObject(obj);
newObj.Prim.Position += offset;
newObj.Prim.ID = UUID.Random();
newObj.Prim.ID = UUID.Zero;
newObj.Prim.LocalID = 0;
newObj.Prim.Properties.CreationDate = DateTime.Now;
server.Scene.ObjectAdd(this, newObj, agent.ID, 0, flags);
}