aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-03 05:32:51 +0000
committerMelanie Thielker2008-10-03 05:32:51 +0000
commit1cf0798863a52a89e55b2d9e86df6822b02e127e (patch)
treea8cb7a672ecd5797140e93e2e5ce9e1450bd45f8 /OpenSim/Region/ScriptEngine/DotNetEngine
parentAttempt to prevent attached prims from being persisted. Attachments with (diff)
downloadopensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.zip
opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.gz
opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.bz2
opensim-SC-1cf0798863a52a89e55b2d9e86df6822b02e127e.tar.xz
Plumb in the start parameter in DNE
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs10
2 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index ee64c41..76bf41b 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -236,7 +236,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
236 236
237 public int GetStartParameter(UUID itemID) 237 public int GetStartParameter(UUID itemID)
238 { 238 {
239 return 0; 239 return m_ScriptManager.GetStartParameter(itemID);
240 } 240 }
241 #endregion 241 #endregion
242 242
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 627b2a7..875b29e 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -611,5 +611,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
611 611
612 return null; 612 return null;
613 } 613 }
614
615 public int GetStartParameter(UUID itemID)
616 {
617
618 uint localID = GetLocalID(itemID);
619
620 InstanceData id = GetScript(localID, itemID);
621
622 return id.StartParam;
623 }
614 } 624 }
615} 625}