Xengine: if option AppDomainLoading = true, create script domains for each SOG (like already done for attachments) and not per script. This should reduce number of domains without excessive problem of deleted scripts still loaded.
parent
a2a84dea49
commit
96ee7e4c2c
|
@ -1289,10 +1289,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
if ((!m_Scripts.ContainsKey(itemID)) ||
|
||||
(m_Scripts[itemID].AssetID != assetID))
|
||||
{
|
||||
UUID appDomain = assetID;
|
||||
// UUID appDomain = assetID;
|
||||
|
||||
if (part.ParentGroup.IsAttachment)
|
||||
appDomain = part.ParentGroup.RootPart.UUID;
|
||||
// if (part.ParentGroup.IsAttachment)
|
||||
// appDomain = part.ParentGroup.RootPart.UUID;
|
||||
UUID appDomain = part.ParentGroup.RootPart.UUID;
|
||||
|
||||
if (!m_AppDomains.ContainsKey(appDomain))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue