Yengine: do use SourceHashCode

0.9.1.0-post-fixes
UbitUmarov 2018-11-20 22:43:03 +00:00
parent a2208e5c8c
commit 5485ba2ae6
2 changed files with 1 additions and 3 deletions

View File

@ -87,7 +87,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
private string m_ScriptBasePath;
private bool m_Enabled = false;
public bool m_StartProcessing = false;
public bool m_UseSourceHashCode = false;
private Dictionary<UUID, ArrayList> m_ScriptErrors =
new Dictionary<UUID, ArrayList>();
private Dictionary<UUID, List<UUID>> m_ObjectItemList =
@ -208,7 +207,6 @@ namespace OpenSim.Region.ScriptEngine.Yengine
if(!m_Enabled)
return;
m_UseSourceHashCode = m_Config.GetBoolean("UseSourceHashCode", false);
numThreadScriptWorkers = m_Config.GetInt("NumThreadScriptWorkers", 1);
m_TraceCalls = m_Config.GetBoolean("TraceCalls", false);

View File

@ -173,7 +173,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
if(i < 0)
i = len - 1;
}
if((i >= len) || !m_Engine.m_UseSourceHashCode)
if((i >= len))
{
// Source consists of nothing but // comments and whitespace,
// or we are being forced to use the asset-id as the key, to