diff options
author | UbitUmarov | 2015-09-21 19:56:59 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-21 19:56:59 +0100 |
commit | 04800a7570abc0c251f3b0e1c144c50c21d11e42 (patch) | |
tree | 1fd31862536164d31d102cd25926e7b0bfa04d9e | |
parent | remove duplicated and breaking code (diff) | |
download | opensim-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
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
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; |