From 1646f42a8073bac3509ce8e575f2fb75b64e9266 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 27 Jun 2008 19:13:42 +0000 Subject: Mantis#1615. Thank you, Matth for a patch that: causes deprecated LSL functions to throw the deprecated exception rather than not-implemented. --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 +- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index adf3254..f030e12 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -1320,7 +1320,7 @@ namespace OpenSim.Region.Environment.Scenes srcPart.Name, srcId, srcTaskItem.Name, srcTaskItem.ItemID, destPart.Name, destId, pin); // the LSL Wiki says we are supposed to shout on the DEBUG_CHANNEL - // "Object: Task Object trying to illegally load script onto task Other_Object!" - // How do we should from in here? + // How do we shout from in here? return; } diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 7df1173..28a512b 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -1940,25 +1940,25 @@ namespace OpenSim.Region.ScriptEngine.Common public void llMakeExplosion() { m_host.AddScriptLPS(1); - NotImplemented("llMakeExplosion"); + Deprecated("llMakeExplosion"); } public void llMakeFountain() { m_host.AddScriptLPS(1); - NotImplemented("llMakeFountain"); + Deprecated("llMakeFountain"); } public void llMakeSmoke() { m_host.AddScriptLPS(1); - NotImplemented("llMakeSmoke"); + Deprecated("llMakeSmoke"); } public void llMakeFire() { m_host.AddScriptLPS(1); - NotImplemented("llMakeFire"); + Deprecated("llMakeFire"); } public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param) @@ -2236,7 +2236,7 @@ namespace OpenSim.Region.ScriptEngine.Common public void llSoundPreload() { m_host.AddScriptLPS(1); - NotImplemented("llSoundPreload"); + Deprecated("llSoundPreload"); } public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) -- cgit v1.1