Start scripts in attachments only after a successful attach. Elimininate

a gratuitious asset fetch when region crossing.
This commit is contained in:
Melanie Thielker
2008-11-29 14:16:09 +00:00
parent b8e8a33d60
commit af5e9147f0
5 changed files with 29 additions and 3 deletions

View File

@@ -472,6 +472,10 @@ namespace OpenSim.Region.Environment.Scenes
objatt.ScheduleGroupForFullUpdate();
if (tainted)
objatt.HasGroupChanged = true;
// Fire after attach, so we don't get messy perms dialogs
//
objatt.CreateScriptInstances(0, true, m_parentScene.DefaultScriptEngine, 0);
}
return objatt;
}