YEngine: fix wrong language detection on some comments in first line
parent
bae7b21e87
commit
21f86c453d
|
@ -1231,15 +1231,17 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
|
|
||||||
// Requested engine not defined, warn on console.
|
// Requested engine not defined, warn on console.
|
||||||
// Then we try to handle it if we're the default engine, else we ignore it.
|
// Then we try to handle it if we're the default engine, else we ignore it.
|
||||||
// m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName);
|
//m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName);
|
||||||
// m_log.Info("[YEngine]: - " + part.GetWorldPosition());
|
//m_log.Info("[YEngine]: - " + part.GetWorldPosition());
|
||||||
// m_log.Info("[YEngine]: first line: " + firstline);
|
//m_log.Info("[YEngine]: first line: " + firstline);
|
||||||
if(defEngine != ScriptEngineName)
|
if(defEngine != ScriptEngineName)
|
||||||
{
|
{
|
||||||
// m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it");
|
//m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine");
|
// m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine");
|
||||||
|
|
||||||
|
langsrt = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!string.IsNullOrEmpty(langsrt) && langsrt !="lsl")
|
if(!string.IsNullOrEmpty(langsrt) && langsrt !="lsl")
|
||||||
|
|
Loading…
Reference in New Issue