* ImportCommand now creates prims.

* Added SetTextures, SetLight, SetFlexible functions to ObjectManager.
* Added XML defaults to ParticleSystem and TextureAnimation.
* Fixed an XML default for LLQuaternion.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@698 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
lancej
2006-12-09 07:55:46 +00:00
parent 568db5148b
commit d109dcc1f8
6 changed files with 184 additions and 30 deletions

View File

@@ -27,6 +27,9 @@ namespace libsecondlife.TestClient
public bool Running = true;
public string Master = "";
public delegate void PrimCreatedCallback(Simulator simulator, PrimObject prim);
public event PrimCreatedCallback OnPrimCreated;
private LLQuaternion bodyRotation = LLQuaternion.Identity;
private LLVector3 forward = new LLVector3(0, 0.9999f, 0);
private LLVector3 left = new LLVector3(0.9999f, 0, 0);
@@ -322,6 +325,11 @@ Begin:
{
Prims[prim.LocalID] = prim;
}
if ((prim.Flags & ObjectFlags.CreateSelected) != 0 && OnPrimCreated != null)
{
OnPrimCreated(simulator, prim);
}
}
private void Objects_OnNewAvatar(Simulator simulator, Avatar avatar, ulong regionHandle, ushort timeDilation)