From d95918f2288967de3937ec7aa648a5303eba4027 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 17 Jul 2007 17:47:23 +0000 Subject: * Changed SimpleApp to use EventManager and Scene timer * Refactored a lot of m_* and public -> wrappers --- OpenSim/Region/Environment/Scenes/SceneObject.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObject.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObject.cs b/OpenSim/Region/Environment/Scenes/SceneObject.cs index f0b25ce..ed27fa9 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObject.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObject.cs @@ -55,8 +55,8 @@ namespace OpenSim.Region.Environment.Scenes { get { - this.uuid = this.rootPrimitive.uuid; - return this.uuid; + this.m_uuid = this.rootPrimitive.m_uuid; + return this.m_uuid; } } @@ -151,7 +151,7 @@ namespace OpenSim.Region.Environment.Scenes this.rootPrimitive = new Primitive(this.m_regionHandle, this.m_world, agentID, localID, true, this, this, shape, pos); - this.children.Add(rootPrimitive); + this.m_children.Add(rootPrimitive); this.ChildPrimitives.Add(this.rootUUID, this.rootPrimitive); } @@ -177,7 +177,7 @@ namespace OpenSim.Region.Environment.Scenes dupe.m_regionHandle = this.m_regionHandle; Primitive newRoot = this.rootPrimitive.Copy(dupe, dupe); dupe.rootPrimitive = newRoot; - dupe.children.Add(dupe.rootPrimitive); + dupe.m_children.Add(dupe.rootPrimitive); dupe.rootPrimitive.Pos = this.Pos; dupe.Rotation = this.Rotation; dupe.LocalId = m_world.PrimIDAllocate(); @@ -191,7 +191,7 @@ namespace OpenSim.Region.Environment.Scenes /// public void DeleteAllChildren() { - this.children.Clear(); + this.m_children.Clear(); this.ChildPrimitives.Clear(); this.rootPrimitive = null; unregisterEvents(); @@ -208,9 +208,9 @@ namespace OpenSim.Region.Environment.Scenes public void AddChildToList(Primitive prim) { - if (!this.ChildPrimitives.ContainsKey(prim.uuid)) + if (!this.ChildPrimitives.ContainsKey(prim.m_uuid)) { - this.ChildPrimitives.Add(prim.uuid, prim); + this.ChildPrimitives.Add(prim.m_uuid, prim); } } /// -- cgit v1.1