aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2015-09-21 19:56:59 +0100
committerUbitUmarov2015-09-21 19:56:59 +0100
commit04800a7570abc0c251f3b0e1c144c50c21d11e42 (patch)
tree1fd31862536164d31d102cd25926e7b0bfa04d9e /OpenSim/Region
parentremove duplicated and breaking code (diff)
downloadopensim-SC_OLD-04800a7570abc0c251f3b0e1c144c50c21d11e42.zip
opensim-SC_OLD-04800a7570abc0c251f3b0e1c144c50c21d11e42.tar.gz
opensim-SC_OLD-04800a7570abc0c251f3b0e1c144c50c21d11e42.tar.bz2
opensim-SC_OLD-04800a7570abc0c251f3b0e1c144c50c21d11e42.tar.xz
add missing sit check
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 74cc161..cbaf803 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2634,7 +2634,8 @@ namespace OpenSim.Region.Framework.Scenes
2634 List<ScenePresence> avatars = group.GetSittingAvatars(); 2634 List<ScenePresence> avatars = group.GetSittingAvatars();
2635 foreach (ScenePresence av in avatars) 2635 foreach (ScenePresence av in avatars)
2636 { 2636 {
2637 av.StandUp(); 2637 if(av.ParentUUID == UUID.Zero)
2638 av.StandUp();
2638 } 2639 }
2639 2640
2640 SceneObjectPart[] partList = group.Parts; 2641 SceneObjectPart[] partList = group.Parts;