From de51b7af8536d43ff73b5562843e1a8f7356a338 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 2 Oct 2015 17:56:02 +0100 Subject: do group SetPos sync as master, script thread does need to wait for it to be done. This needs improvement, doing it async again with script thread waiting watching coop --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 413bfc7..694f8a1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2688,9 +2688,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api SceneObjectGroup parent = part.ParentGroup; if (!World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos)) return; - Util.FireAndForget(delegate(object x) { - parent.UpdateGroupPosition((Vector3)toPos); - }); + parent.UpdateGroupPosition((Vector3)toPos); } else { -- cgit v1.1