aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting
diff options
context:
space:
mode:
authorMW2007-09-11 14:18:34 +0000
committerMW2007-09-11 14:18:34 +0000
commit04cf04600c01f2cb328847133430f777bc7f1a7c (patch)
tree2976b99f12f66f86d94a2f23bdc953a8494d8dda /OpenSim/Region/Environment/Scenes/Scripting
parentGet rid of extra green men in minimap on region crossings (they were (diff)
downloadopensim-SC-04cf04600c01f2cb328847133430f777bc7f1a7c.zip
opensim-SC-04cf04600c01f2cb328847133430f777bc7f1a7c.tar.gz
opensim-SC-04cf04600c01f2cb328847133430f777bc7f1a7c.tar.bz2
opensim-SC-04cf04600c01f2cb328847133430f777bc7f1a7c.tar.xz
Applied ldvoipeng's patch [#360], sorry for it taking so long to apply it. If in future anyone's patch hasn't been applied within a few days, please can someone kick one of the developers with svn access.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scripting')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs20
2 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
index e7d0570..2f248ce 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
+++ b/OpenSim/Region/Environment/Scenes/Scripting/IScriptHost.cs
@@ -8,8 +8,12 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
8 public interface IScriptHost 8 public interface IScriptHost
9 { 9 {
10 string Name { get; set;} 10 string Name { get; set;}
11 string SitName{ get; set;}
12 string TouchName { get; set;}
13 string Description { get; set; }
11 LLUUID UUID { get; } 14 LLUUID UUID { get; }
12 LLUUID ObjectOwner { get;} 15 LLUUID ObjectOwner { get;}
16 LLUUID ObjectCreator { get; }
13 LLVector3 AbsolutePosition { get; } 17 LLVector3 AbsolutePosition { get; }
14 void SetText(string text, Axiom.Math.Vector3 color, double alpha); 18 void SetText(string text, Axiom.Math.Vector3 color, double alpha);
15 } 19 }
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
index a50b142..5e3dcae 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
+++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
@@ -15,6 +15,24 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
15 set { } 15 set { }
16 } 16 }
17 17
18 public string SitName
19 {
20 get { return ""; }
21 set { }
22 }
23
24 public string TouchName
25 {
26 get { return ""; }
27 set { }
28 }
29
30 public string Description
31 {
32 get { return ""; }
33 set { }
34 }
35
18 public LLUUID UUID 36 public LLUUID UUID
19 { 37 {
20 get { return LLUUID.Zero; } 38 get { return LLUUID.Zero; }
@@ -23,6 +41,8 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
23 public LLUUID ObjectOwner 41 public LLUUID ObjectOwner
24 { get { return LLUUID.Zero; } } 42 { get { return LLUUID.Zero; } }
25 43
44 public LLUUID ObjectCreator { get { return LLUUID.Zero; } }
45
26 public LLVector3 AbsolutePosition 46 public LLVector3 AbsolutePosition
27 { 47 {
28 get { return m_pos; } 48 get { return m_pos; }