mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Start scripts in attachments only after a successful attach. Elimininate
a gratuitious asset fetch when region crossing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user