Make the scrpt engines ignore any script that begins with //MRM:

This commit is contained in:
Melanie Thielker
2009-04-10 21:44:27 +00:00
parent ae6f265729
commit a7de0ae9ec
2 changed files with 6 additions and 0 deletions

View File

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