From 67aefb5e4222b4b798185105cf3fad28e352f7ff Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 17 Nov 2015 00:48:35 +0000 Subject: bug fix: StateSource of a SOG that is not a attachment is StateSource.PrimCrossing --- OpenSim/Region/Framework/Scenes/Scene.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 2fcb78d..2a917a9 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -3064,8 +3064,10 @@ namespace OpenSim.Region.Framework.Scenes private int GetStateSource(SceneObjectGroup sog) { - ScenePresence sp = GetScenePresence(sog.OwnerID); + if(!sog.IsAttachmentCheckFull()) + return 2; // StateSource.PrimCrossing + ScenePresence sp = GetScenePresence(sog.OwnerID); if (sp != null) return sp.GetStateSource(); -- cgit v1.1