* Implements retrieving child primitives via World.Objects[id] (MRM)

* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
This commit is contained in:
Adam Frisby
2009-04-09 10:07:40 +00:00
parent 73ab6bd455
commit 1b56fff7c8
3 changed files with 16 additions and 5 deletions

View File

@@ -33,7 +33,18 @@ namespace OpenSim
{
public override void Start()
{
Host.Console.Info("Hello World!");
// Say Hello
Host.Object.Say("Hello, Avatar!");
// Register ourselves to listen
// for touch events.
Host.Object.OnTouch += OnTouched;
}
// This is our touch event handler
void OnTouched(IObject sender, TouchEventArgs e)
{
Host.Object.Say("Touched.");
}
public override void Stop()