diff options
Start of replacing the old SceneObject/Primitive classes with the new versions.
PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.)
Also this revision may not work on mono, but that will be fixed soon.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index db71578..84c86fd 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -69,7 +69,7 @@ namespace SimpleApp | |||
69 | shape.Scale = new LLVector3(0.5f, 0.5f, 0.5f); | 69 | shape.Scale = new LLVector3(0.5f, 0.5f, 0.5f); |
70 | LLVector3 pos = new LLVector3(138, 129, 27); | 70 | LLVector3 pos = new LLVector3(138, 129, 27); |
71 | 71 | ||
72 | SceneObject sceneObject = new CpuCounterObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); | 72 | SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); |
73 | scene.AddEntity(sceneObject); | 73 | scene.AddEntity(sceneObject); |
74 | 74 | ||
75 | MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); | 75 | MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); |