* removed try-catchall from scene constructor

* added reference server-side addnewprim prototype to Scene - not implementet yet though.
This commit is contained in:
lbsa71
2007-07-01 21:16:45 +00:00
parent 2852cda727
commit 2d34caabb9
4 changed files with 48 additions and 35 deletions

View File

@@ -16,6 +16,7 @@ using OpenSim.Region.Communications.Local;
using OpenSim.Region.ClientStack;
using OpenSim.Region.Physics.BasicPhysicsPlugin;
using System.Net;
using libsecondlife.Packets;
namespace SimpleApp
{
@@ -23,6 +24,7 @@ namespace SimpleApp
{
private LogBase m_log;
AuthenticateSessionsBase m_circuitManager;
uint m_localId;
private void Run()
{
@@ -65,6 +67,12 @@ namespace SimpleApp
m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
m_log.ReadLine();
PrimData primData = new PrimData();
primData.Scale = new LLVector3(1, 1, 1);
m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0);
}
private bool AddNewSessionHandler(ulong regionHandle, Login loginData)