Make the scrpt engines ignore any script that begins with //MRM:
parent
ae6f265729
commit
a7de0ae9ec
|
@ -240,6 +240,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
|||
public void OnRezScript(uint localID, UUID itemID, string script,
|
||||
int startParam, bool postOnRez, string engine, int stateSource)
|
||||
{
|
||||
if (script.StartsWith("//MRM:"))
|
||||
return;
|
||||
|
||||
List<IScriptModule> engines =
|
||||
new List<IScriptModule>(
|
||||
myScriptEngine.World.RequestModuleInterfaces<IScriptModule>());
|
||||
|
|
|
@ -353,6 +353,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
|
||||
public void OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource)
|
||||
{
|
||||
if (script.StartsWith("//MRM:"))
|
||||
return;
|
||||
|
||||
List<IScriptModule> engines = new List<IScriptModule>(m_Scene.RequestModuleInterfaces<IScriptModule>());
|
||||
|
||||
List<string> names = new List<string>();
|
||||
|
|
Loading…
Reference in New Issue