aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorAdam Frisby2008-11-26 09:53:45 +0000
committerAdam Frisby2008-11-26 09:53:45 +0000
commit5f912a67873abfc3114f965d0af692f6fec3c9a2 (patch)
tree573bdf3aed59c13f716eb461fc95dbe50a431ccc /OpenSim
parentA migration to convert the floats int the database to doubles. (diff)
downloadopensim-SC_OLD-5f912a67873abfc3114f965d0af692f6fec3c9a2.zip
opensim-SC_OLD-5f912a67873abfc3114f965d0af692f6fec3c9a2.tar.gz
opensim-SC_OLD-5f912a67873abfc3114f965d0af692f6fec3c9a2.tar.bz2
opensim-SC_OLD-5f912a67873abfc3114f965d0af692f6fec3c9a2.tar.xz
* Adding ScenePresence.ClientView property to return IClientCore interface to a client.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 807fd8c..2c10a3f 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -34,6 +34,7 @@ using OpenMetaverse;
34using OpenMetaverse.Packets; 34using OpenMetaverse.Packets;
35using log4net; 35using log4net;
36using OpenSim.Framework; 36using OpenSim.Framework;
37using OpenSim.Framework.Client;
37using OpenSim.Framework.Communications.Cache; 38using OpenSim.Framework.Communications.Cache;
38using OpenSim.Region.Environment.Interfaces; 39using OpenSim.Region.Environment.Interfaces;
39using OpenSim.Region.Environment.Types; 40using OpenSim.Region.Environment.Types;
@@ -355,6 +356,11 @@ namespace OpenSim.Region.Environment.Scenes
355 set { m_controllingClient = value; } 356 set { m_controllingClient = value; }
356 } 357 }
357 358
359 public IClientCore ClientView
360 {
361 get { return (IClientCore) m_controllingClient; }
362 }
363
358 protected Vector3 m_parentPosition = new Vector3(); 364 protected Vector3 m_parentPosition = new Vector3();
359 public Vector3 ParentPosition 365 public Vector3 ParentPosition
360 { 366 {