diff options
author | Adam Frisby | 2008-11-26 09:53:45 +0000 |
---|---|---|
committer | Adam Frisby | 2008-11-26 09:53:45 +0000 |
commit | 5f912a67873abfc3114f965d0af692f6fec3c9a2 (patch) | |
tree | 573bdf3aed59c13f716eb461fc95dbe50a431ccc | |
parent | A migration to convert the floats int the database to doubles. (diff) | |
download | opensim-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.
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 6 |
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; | |||
34 | using OpenMetaverse.Packets; | 34 | using OpenMetaverse.Packets; |
35 | using log4net; | 35 | using log4net; |
36 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Client; | ||
37 | using OpenSim.Framework.Communications.Cache; | 38 | using OpenSim.Framework.Communications.Cache; |
38 | using OpenSim.Region.Environment.Interfaces; | 39 | using OpenSim.Region.Environment.Interfaces; |
39 | using OpenSim.Region.Environment.Types; | 40 | using 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 | { |