aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting
diff options
context:
space:
mode:
authorMW2007-08-27 11:18:50 +0000
committerMW2007-08-27 11:18:50 +0000
commit6181191a037fd8481cff640405685d9a46ba89a3 (patch)
tree92d10e0ed07b380d6491ae7b3e21ab199b3ea5cd /OpenSim/Region/Environment/Scenes/Scripting
parentAnother small tweak to image sending. (diff)
downloadopensim-SC-6181191a037fd8481cff640405685d9a46ba89a3.zip
opensim-SC-6181191a037fd8481cff640405685d9a46ba89a3.tar.gz
opensim-SC-6181191a037fd8481cff640405685d9a46ba89a3.tar.bz2
opensim-SC-6181191a037fd8481cff640405685d9a46ba89a3.tar.xz
Stopped EntityBase from implementing IScriptHost, as don't think it should, multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway.
Added llGetOwner function, and tested the ll functions that I added in last commit.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scripting')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs1
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs3
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
index d2ca529..e7d0570 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
+++ b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
@@ -9,6 +9,7 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
9 { 9 {
10 string Name { get; set;} 10 string Name { get; set;}
11 LLUUID UUID { get; } 11 LLUUID UUID { get; }
12 LLUUID ObjectOwner { get;}
12 LLVector3 AbsolutePosition { get; } 13 LLVector3 AbsolutePosition { get; }
13 void SetText(string text, Axiom.Math.Vector3 color, double alpha); 14 void SetText(string text, Axiom.Math.Vector3 color, double alpha);
14 } 15 }
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
index a9147fb1..a50b142 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
+++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
@@ -20,6 +20,9 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
20 get { return LLUUID.Zero; } 20 get { return LLUUID.Zero; }
21 } 21 }
22 22
23 public LLUUID ObjectOwner
24 { get { return LLUUID.Zero; } }
25
23 public LLVector3 AbsolutePosition 26 public LLVector3 AbsolutePosition
24 { 27 {
25 get { return m_pos; } 28 get { return m_pos; }