aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-11-17 00:48:35 +0000
committerUbitUmarov2015-11-17 00:48:35 +0000
commit67aefb5e4222b4b798185105cf3fad28e352f7ff (patch)
treee608117ba7dbf78e04d2a7312fc6216e4d761145 /OpenSim/Region/Framework/Scenes/Scene.cs
parent work around some 'tests' errors: backup is async (diff)
downloadopensim-SC-67aefb5e4222b4b798185105cf3fad28e352f7ff.zip
opensim-SC-67aefb5e4222b4b798185105cf3fad28e352f7ff.tar.gz
opensim-SC-67aefb5e4222b4b798185105cf3fad28e352f7ff.tar.bz2
opensim-SC-67aefb5e4222b4b798185105cf3fad28e352f7ff.tar.xz
bug fix: StateSource of a SOG that is not a attachment is StateSource.PrimCrossing
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 3 insertions, 1 deletions
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
3064 3064
3065 private int GetStateSource(SceneObjectGroup sog) 3065 private int GetStateSource(SceneObjectGroup sog)
3066 { 3066 {
3067 ScenePresence sp = GetScenePresence(sog.OwnerID); 3067 if(!sog.IsAttachmentCheckFull())
3068 return 2; // StateSource.PrimCrossing
3068 3069
3070 ScenePresence sp = GetScenePresence(sog.OwnerID);
3069 if (sp != null) 3071 if (sp != null)
3070 return sp.GetStateSource(); 3072 return sp.GetStateSource();
3071 3073