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

avinationmerge
UbitUmarov 2015-10-02 17:56:02 +01:00
parent bdd7ea06ff
commit de51b7af85
1 changed files with 1 additions and 3 deletions

View File

@ -2688,9 +2688,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
SceneObjectGroup parent = part.ParentGroup; SceneObjectGroup parent = part.ParentGroup;
if (!World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos)) if (!World.Permissions.CanObjectEntry(parent.UUID, false, (Vector3)toPos))
return; return;
Util.FireAndForget(delegate(object x) { parent.UpdateGroupPosition((Vector3)toPos);
parent.UpdateGroupPosition((Vector3)toPos);
});
} }
else else
{ {