diff options
author | Melanie Thielker | 2014-07-19 22:32:07 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-07-19 22:32:07 +0200 |
commit | e1b2ecdfdc5d465ee86d2a726eff2e504c846e79 (patch) | |
tree | fa54372d3e4434ed14ff773c0889364895f87529 /OpenSim/Region/ScriptEngine/XEngine | |
parent | fix attachments (diff) | |
parent | revert to capsule representation of avatar collider (diff) | |
download | opensim-SC-e1b2ecdfdc5d465ee86d2a726eff2e504c846e79.zip opensim-SC-e1b2ecdfdc5d465ee86d2a726eff2e504c846e79.tar.gz opensim-SC-e1b2ecdfdc5d465ee86d2a726eff2e504c846e79.tar.bz2 opensim-SC-e1b2ecdfdc5d465ee86d2a726eff2e504c846e79.tar.xz |
Merge branch 'avination-current'
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 2713080..452c443 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1325,12 +1325,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1325 | (m_Scripts[itemID].AssetID != assetID)) | 1325 | (m_Scripts[itemID].AssetID != assetID)) |
1326 | { | 1326 | { |
1327 | lockScriptsForRead(false); | 1327 | lockScriptsForRead(false); |
1328 | instance = new ScriptInstance(this, part, | 1328 | instance = new ScriptInstance(this, part, |
1329 | item, | 1329 | item, |
1330 | startParam, postOnRez, | 1330 | startParam, postOnRez, |
1331 | m_MaxScriptQueue); | 1331 | m_MaxScriptQueue); |
1332 | |||
1333 | |||
1334 | 1332 | ||
1335 | if (part.ParentGroup.IsAttachment) | 1333 | if (part.ParentGroup.IsAttachment) |
1336 | appDomain = part.ParentGroup.RootPart.UUID; | 1334 | appDomain = part.ParentGroup.RootPart.UUID; |
@@ -1392,8 +1390,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1392 | sandbox = AppDomain.CurrentDomain; | 1390 | sandbox = AppDomain.CurrentDomain; |
1393 | } | 1391 | } |
1394 | 1392 | ||
1395 | if (!instance.Load(m_AppDomains[appDomain], assembly, stateSource)) | 1393 | // if (!instance.Load(m_AppDomains[appDomain], assembly, stateSource)) |
1396 | return false; | 1394 | // return false; |
1397 | 1395 | ||
1398 | m_AppDomains[appDomain] = sandbox; | 1396 | m_AppDomains[appDomain] = sandbox; |
1399 | 1397 | ||
@@ -1411,9 +1409,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1411 | return false; | 1409 | return false; |
1412 | } | 1410 | } |
1413 | } | 1411 | } |
1414 | |||
1415 | 1412 | ||
1416 | instance.Load(m_AppDomains[appDomain], assembly, stateSource); | 1413 | |
1414 | if (!instance.Load(m_AppDomains[appDomain], assembly, stateSource)) | ||
1415 | return false; | ||
1417 | // m_log.DebugFormat( | 1416 | // m_log.DebugFormat( |
1418 | // "[XEngine] Loaded script {0}.{1}, script UUID {2}, prim UUID {3} @ {4}.{5}", | 1417 | // "[XEngine] Loaded script {0}.{1}, script UUID {2}, prim UUID {3} @ {4}.{5}", |
1419 | // part.ParentGroup.RootPart.Name, item.Name, assetID, part.UUID, | 1418 | // part.ParentGroup.RootPart.Name, item.Name, assetID, part.UUID, |