Yengine: only retry compile if there was a object file in cache with wrong version or signature

This commit is contained in:
UbitUmarov
2018-03-09 22:44:58 +00:00
parent 2dc49dc1e9
commit 2369ce413d
4 changed files with 6 additions and 18 deletions

View File

@@ -1283,7 +1283,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
{
initerr = e1;
}
if((initerr != null) && !instance.m_ForceRecomp)
if(initerr != null && !instance.m_ForceRecomp && initerr is CVVMismatchException)
{
UUID itemID = instance.m_ItemID;
Verbose("[YEngine]: {0}/{2} first load failed ({1}), retrying after recompile",