diff options
author | UbitUmarov | 2019-11-04 17:22:42 +0000 |
---|---|---|
committer | UbitUmarov | 2019-11-04 17:22:42 +0000 |
commit | 21f86c453df02ed8e3575740a8253d12fba6db50 (patch) | |
tree | 9928dcac7d87c0847c51e49a862eb11cf482ba1b /OpenSim/Region/ScriptEngine/YEngine | |
parent | update libopenmetaverse ( attach points) (diff) | |
download | opensim-SC-21f86c453df02ed8e3575740a8253d12fba6db50.zip opensim-SC-21f86c453df02ed8e3575740a8253d12fba6db50.tar.gz opensim-SC-21f86c453df02ed8e3575740a8253d12fba6db50.tar.bz2 opensim-SC-21f86c453df02ed8e3575740a8253d12fba6db50.tar.xz |
YEngine: fix wrong language detection on some comments in first line
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs index e1f8c4c..71b71ec 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs | |||
@@ -1231,15 +1231,17 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
1231 | 1231 | ||
1232 | // Requested engine not defined, warn on console. | 1232 | // Requested engine not defined, warn on console. |
1233 | // Then we try to handle it if we're the default engine, else we ignore it. | 1233 | // Then we try to handle it if we're the default engine, else we ignore it. |
1234 | // m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName); | 1234 | //m_log.Warn("[YEngine]: " + itemID.ToString() + " requests undefined/disabled engine " + engineName); |
1235 | // m_log.Info("[YEngine]: - " + part.GetWorldPosition()); | 1235 | //m_log.Info("[YEngine]: - " + part.GetWorldPosition()); |
1236 | // m_log.Info("[YEngine]: first line: " + firstline); | 1236 | //m_log.Info("[YEngine]: first line: " + firstline); |
1237 | if(defEngine != ScriptEngineName) | 1237 | if(defEngine != ScriptEngineName) |
1238 | { | 1238 | { |
1239 | // m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it"); | 1239 | //m_log.Info("[YEngine]: leaving it to the default script engine (" + defEngine + ") to process it"); |
1240 | return; | 1240 | return; |
1241 | } | 1241 | } |
1242 | // m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine"); | 1242 | // m_log.Info("[YEngine]: will attempt to processing it anyway as default script engine"); |
1243 | |||
1244 | langsrt = ""; | ||
1243 | } | 1245 | } |
1244 | 1246 | ||
1245 | if(!string.IsNullOrEmpty(langsrt) && langsrt !="lsl") | 1247 | if(!string.IsNullOrEmpty(langsrt) && langsrt !="lsl") |