aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorDr Scofield2008-06-28 07:30:49 +0000
committerDr Scofield2008-06-28 07:30:49 +0000
commit55a4cf33a3ce954fe1e5fff76e044e649ea31ebd (patch)
treedfb9a2a3d72e194384c90873863c8158b4a897fe /OpenSim/Region/ScriptEngine/Common
parent* Melanie adds the event manager back to the XEngine so all yr events are her... (diff)
downloadopensim-SC_OLD-55a4cf33a3ce954fe1e5fff76e044e649ea31ebd.zip
opensim-SC_OLD-55a4cf33a3ce954fe1e5fff76e044e649ea31ebd.tar.gz
opensim-SC_OLD-55a4cf33a3ce954fe1e5fff76e044e649ea31ebd.tar.bz2
opensim-SC_OLD-55a4cf33a3ce954fe1e5fff76e044e649ea31ebd.tar.xz
From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to fix the passed parms and properly show llTakeCamera and llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs8
3 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
index c273c03..07e3b41 100644
--- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
@@ -760,14 +760,14 @@ namespace OpenSim.Region.ScriptEngine.Common
760 m_LSL_Functions.llDetachFromAvatar(); 760 m_LSL_Functions.llDetachFromAvatar();
761 } 761 }
762 762
763 public void llTakeCamera() 763 public void llTakeCamera(string avatar)
764 { 764 {
765 m_LSL_Functions.llTakeCamera(); 765 m_LSL_Functions.llTakeCamera(avatar);
766 } 766 }
767 767
768 public void llReleaseCamera() 768 public void llReleaseCamera(string avatar)
769 { 769 {
770 m_LSL_Functions.llReleaseCamera(); 770 m_LSL_Functions.llReleaseCamera(avatar);
771 } 771 }
772 772
773 public string llGetOwner() 773 public string llGetOwner()
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 6324f1a..6f4943d 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2119,16 +2119,16 @@ namespace OpenSim.Region.ScriptEngine.Common
2119 NotImplemented("llDetachFromAvatar"); 2119 NotImplemented("llDetachFromAvatar");
2120 } 2120 }
2121 2121
2122 public void llTakeCamera() 2122 public void llTakeCamera(string avatar)
2123 { 2123 {
2124 m_host.AddScriptLPS(1); 2124 m_host.AddScriptLPS(1);
2125 NotImplemented("llTakeCamera"); 2125 Deprecated("llTakeCamera");
2126 } 2126 }
2127 2127
2128 public void llReleaseCamera() 2128 public void llReleaseCamera(string avatar)
2129 { 2129 {
2130 m_host.AddScriptLPS(1); 2130 m_host.AddScriptLPS(1);
2131 NotImplemented("llReleaseCamera"); 2131 Deprecated("llReleaseCamera");
2132 } 2132 }
2133 2133
2134 public string llGetOwner() 2134 public string llGetOwner()
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
index c6464f3..3acbf97 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
@@ -211,10 +211,10 @@ namespace OpenSim.Region.ScriptEngine.Common
211 void llAttachToAvatar(int attachment); 211 void llAttachToAvatar(int attachment);
212 //wiki: llDetachFromAvatar() 212 //wiki: llDetachFromAvatar()
213 void llDetachFromAvatar(); 213 void llDetachFromAvatar();
214 //wiki: (deprecated) llTakeCamera() 214 //wiki: (deprecated) llTakeCamera(key avatar)
215 void llTakeCamera(); 215 void llTakeCamera(string avatar);
216 //wiki: (deprecated) llReleaseCamera() 216 //wiki: (deprecated) llReleaseCamera(key avatar)
217 void llReleaseCamera(); 217 void llReleaseCamera(string avatar);
218 //wiki: key llGetOwner() 218 //wiki: key llGetOwner()
219 string llGetOwner(); 219 string llGetOwner();
220 //wiki: llInstantMessage(key user, string message) 220 //wiki: llInstantMessage(key user, string message)