Mantis#1615. Thank you, Matth for a patch that:

causes deprecated LSL functions to throw the deprecated 
exception rather than not-implemented.
0.6.0-stable
Charles Krinke 2008-06-27 19:13:42 +00:00
parent 2f6a5f5575
commit 1646f42a80
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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)