diff options
* removed try-catchall from scene constructor
* added reference server-side addnewprim prototype to Scene - not implementet yet though.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 8 |
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; | |||
16 | using OpenSim.Region.ClientStack; | 16 | using OpenSim.Region.ClientStack; |
17 | using OpenSim.Region.Physics.BasicPhysicsPlugin; | 17 | using OpenSim.Region.Physics.BasicPhysicsPlugin; |
18 | using System.Net; | 18 | using System.Net; |
19 | using libsecondlife.Packets; | ||
19 | 20 | ||
20 | namespace SimpleApp | 21 | namespace 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) |