From a076369fa3dee4c99d4b7a6c8b699710c75ebc04 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 13 Jul 2007 18:01:44 +0000 Subject: * I want to commit too! --- OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 18 ------------------ OpenSim/Region/Examples/SimpleApp/Program.cs | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) (limited to 'OpenSim/Region/Examples/SimpleApp') diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index ee35b8e..39666fb 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs @@ -52,7 +52,6 @@ namespace SimpleApp client.SendChatMessage("Ready.", 1, pos, "System", LLUUID.Zero ); }; - client.OnRequestWearables += SendWearables; client.OnAddPrim += AddNewPrim; client.OnUpdatePrimGroupPosition += this.UpdatePrimPosition; client.OnRequestMapBlocks += this.RequestMapBlocks; @@ -61,20 +60,8 @@ namespace SimpleApp client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; client.OnCompleteMovementToRegion += delegate() - { - client.MoveAgentIntoRegion(m_regInfo, pos, LLVector3.Zero ); - }; - - client.OnCompleteMovementToRegion += delegate() { - client.SendAvatarData(m_regInfo.RegionHandle, client.FirstName, - client.LastName, client.AgentId, 0, - pos, null); - client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero ); - - - }; client.SendRegionHandshake(m_regInfo); @@ -83,11 +70,6 @@ namespace SimpleApp } - private void SendWearables( IClientAPI client ) - { - client.SendWearables( AvatarWearable.DefaultWearables ); - } - #endregion } } diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index ce3c056..e5e2234 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -68,9 +68,9 @@ namespace SimpleApp PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox(); - shape.Scale = new LLVector3(1, 1, 1); + shape.Scale = new LLVector3(10, 10, 10); - LLVector3 pos = new LLVector3(1,1,1); + LLVector3 pos = new LLVector3(128,128,72); world.AddNewPrim( LLUUID.Zero, pos, shape ); -- cgit v1.1