diff options
author | lbsa71 | 2007-08-16 17:08:03 +0000 |
---|---|---|
committer | lbsa71 | 2007-08-16 17:08:03 +0000 |
commit | 25fd8d02738e61e81f93ac784b02ab84697ee528 (patch) | |
tree | db1dda71b3aa86770fa90ae84d4ac361a6fd84c7 /OpenSim/Region/Environment/Scenes/SceneObject(Old).cs | |
parent | Deleted old inventoryCache.cs (diff) | |
download | opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.zip opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.gz opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.bz2 opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.xz |
* Introduced IScriptHost as an interface to fetching object data from scripts.
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObject(Old).cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObject(Old).cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObject(Old).cs b/OpenSim/Region/Environment/Scenes/SceneObject(Old).cs index 882b72e..f32c952 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObject(Old).cs +++ b/OpenSim/Region/Environment/Scenes/SceneObject(Old).cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
92 | m_scene = world; | 92 | m_scene = world; |
93 | m_eventManager = eventManager; | 93 | m_eventManager = eventManager; |
94 | 94 | ||
95 | this.Pos = pos; | 95 | this.AbsolutePosition = pos; |
96 | this.CreateRootFromShape(ownerID, localID, shape, pos); | 96 | this.CreateRootFromShape(ownerID, localID, shape, pos); |
97 | 97 | ||
98 | registerEvents(); | 98 | registerEvents(); |
@@ -176,7 +176,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
176 | dupe.rootPrimitive = newRoot; | 176 | dupe.rootPrimitive = newRoot; |
177 | 177 | ||
178 | dupe.m_children.Add(dupe.rootPrimitive); | 178 | dupe.m_children.Add(dupe.rootPrimitive); |
179 | dupe.rootPrimitive.Pos = this.Pos; | 179 | dupe.rootPrimitive.AbsolutePosition = this.AbsolutePosition; |
180 | dupe.Rotation = this.Rotation; | 180 | dupe.Rotation = this.Rotation; |
181 | dupe.LocalId = m_scene.PrimIDAllocate(); | 181 | dupe.LocalId = m_scene.PrimIDAllocate(); |
182 | 182 | ||
@@ -274,7 +274,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
274 | /// <param name="remoteClient"></param> | 274 | /// <param name="remoteClient"></param> |
275 | public void GrapMovement(LLVector3 offset, LLVector3 pos, IClientAPI remoteClient) | 275 | public void GrapMovement(LLVector3 offset, LLVector3 pos, IClientAPI remoteClient) |
276 | { | 276 | { |
277 | this.rootPrimitive.Pos = pos; | 277 | this.rootPrimitive.AbsolutePosition = pos; |
278 | this.rootPrimitive.SendTerseUpdateForAllChildren(remoteClient); | 278 | this.rootPrimitive.SendTerseUpdateForAllChildren(remoteClient); |
279 | } | 279 | } |
280 | 280 | ||