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.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 095ba1d..621ef1b 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -65,10 +65,13 @@ namespace SimpleApp
65 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); 65 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
66 m_log.ReadLine(); 66 m_log.ReadLine();
67 67
68 PrimData primData = new PrimData(); 68 PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox();
69 primData.Scale = new LLVector3(1, 1, 1); 69
70 shape.Scale = new LLVector3(1, 1, 1);
71
72 LLVector3 pos = new LLVector3(1,1,1);
70 73
71 //m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0); 74 world.AddNewPrim( LLUUID.Zero, pos, shape );
72 75
73 } 76 }
74 77