aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index f5c6999..8e9ad75 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -16,6 +16,7 @@ using OpenSim.Region.Communications.Local;
16using OpenSim.Region.ClientStack; 16using OpenSim.Region.ClientStack;
17using OpenSim.Region.Physics.BasicPhysicsPlugin; 17using OpenSim.Region.Physics.BasicPhysicsPlugin;
18using System.Net; 18using System.Net;
19using libsecondlife.Packets;
19 20
20namespace SimpleApp 21namespace SimpleApp
21{ 22{
@@ -23,6 +24,7 @@ namespace SimpleApp
23 { 24 {
24 private LogBase m_log; 25 private LogBase m_log;
25 AuthenticateSessionsBase m_circuitManager; 26 AuthenticateSessionsBase m_circuitManager;
27 uint m_localId;
26 28
27 private void Run() 29 private void Run()
28 { 30 {
@@ -65,6 +67,12 @@ namespace SimpleApp
65 67
66 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); 68 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
67 m_log.ReadLine(); 69 m_log.ReadLine();
70
71 PrimData primData = new PrimData();
72 primData.Scale = new LLVector3(1, 1, 1);
73
74 m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0);
75
68 } 76 }
69 77
70 private bool AddNewSessionHandler(ulong regionHandle, Login loginData) 78 private bool AddNewSessionHandler(ulong regionHandle, Login loginData)