diff options
author | UbitUmarov | 2017-08-19 22:44:18 +0100 |
---|---|---|
committer | UbitUmarov | 2017-08-19 22:44:18 +0100 |
commit | 539c006cb85f986e7e3735630b39b2bfb0b122e0 (patch) | |
tree | 5fddf90cd4a8706fd3581ddb5fa258f38a1241d3 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | BulletSim: Update macOS version of BulletSim with the actual Bullet (diff) | |
download | opensim-SC-539c006cb85f986e7e3735630b39b2bfb0b122e0.zip opensim-SC-539c006cb85f986e7e3735630b39b2bfb0b122e0.tar.gz opensim-SC-539c006cb85f986e7e3735630b39b2bfb0b122e0.tar.bz2 opensim-SC-539c006cb85f986e7e3735630b39b2bfb0b122e0.tar.xz |
change SOP updates throttles again. Small values of omega on llSetTargetOmega where skiped
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 53b7ced..3380191 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3042,11 +3042,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
3042 | if (!IsSelected) | 3042 | if (!IsSelected) |
3043 | RootPart.UpdateLookAt(); | 3043 | RootPart.UpdateLookAt(); |
3044 | 3044 | ||
3045 | double now = Util.GetTimeStampMS(); | ||
3046 | RootPart.SendScheduledUpdates(now); | ||
3045 | SceneObjectPart[] parts = m_parts.GetArray(); | 3047 | SceneObjectPart[] parts = m_parts.GetArray(); |
3046 | for (int i = 0; i < parts.Length; i++) | 3048 | for (int i = 0; i < parts.Length; i++) |
3047 | { | 3049 | { |
3048 | SceneObjectPart part = parts[i]; | 3050 | SceneObjectPart part = parts[i]; |
3049 | part.SendScheduledUpdates(); | 3051 | if(part != RootPart) |
3052 | part.SendScheduledUpdates(now); | ||
3050 | } | 3053 | } |
3051 | } | 3054 | } |
3052 | 3055 | ||
@@ -3113,7 +3116,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3113 | } | 3116 | } |
3114 | 3117 | ||
3115 | RootPart.SendFullUpdateToAllClientsInternal(); | 3118 | RootPart.SendFullUpdateToAllClientsInternal(); |
3116 | |||
3117 | SceneObjectPart[] parts = m_parts.GetArray(); | 3119 | SceneObjectPart[] parts = m_parts.GetArray(); |
3118 | for (int i = 0; i < parts.Length; i++) | 3120 | for (int i = 0; i < parts.Length; i++) |
3119 | { | 3121 | { |