mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
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.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user