diff options
author | UbitUmarov | 2019-01-01 12:06:29 +0000 |
---|---|---|
committer | UbitUmarov | 2019-01-01 12:06:29 +0000 |
commit | 02492f7b15f29419c1ea4725a6ae6959bc199912 (patch) | |
tree | 2967fed8eba4d3b801a763ddeb50804226c446cb /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | temporary HACK to not kill some viewers (diff) | |
download | opensim-SC-02492f7b15f29419c1ea4725a6ae6959bc199912.zip opensim-SC-02492f7b15f29419c1ea4725a6ae6959bc199912.tar.gz opensim-SC-02492f7b15f29419c1ea4725a6ae6959bc199912.tar.bz2 opensim-SC-02492f7b15f29419c1ea4725a6ae6959bc199912.tar.xz |
replace my hack by others hack
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2b6c5e6..527f12e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -45,6 +45,7 @@ using OpenSim.Region.PhysicsModules.SharedBase; | |||
45 | using GridRegion = OpenSim.Services.Interfaces.GridRegion; | 45 | using GridRegion = OpenSim.Services.Interfaces.GridRegion; |
46 | using OpenSim.Services.Interfaces; | 46 | using OpenSim.Services.Interfaces; |
47 | using TeleportFlags = OpenSim.Framework.Constants.TeleportFlags; | 47 | using TeleportFlags = OpenSim.Framework.Constants.TeleportFlags; |
48 | using Caps = OpenSim.Framework.Capabilities.Caps; | ||
48 | 49 | ||
49 | namespace OpenSim.Region.Framework.Scenes | 50 | namespace OpenSim.Region.Framework.Scenes |
50 | { | 51 | { |
@@ -1110,6 +1111,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1110 | 1111 | ||
1111 | HealRate = 0.5f; | 1112 | HealRate = 0.5f; |
1112 | 1113 | ||
1114 | ControllingClient.SupportObjectAnimations = false; | ||
1115 | if (m_scene.CapsModule != null) | ||
1116 | { | ||
1117 | Caps cap = m_scene.CapsModule.GetCapsForUser(ControllingClient.CircuitCode); | ||
1118 | if (cap != null && (cap.Flags & Caps.CapsFlags.ObjectAnim) != 0) | ||
1119 | ControllingClient.SupportObjectAnimations = true; | ||
1120 | } | ||
1121 | |||
1113 | IConfig sconfig = m_scene.Config.Configs["EntityTransfer"]; | 1122 | IConfig sconfig = m_scene.Config.Configs["EntityTransfer"]; |
1114 | if (sconfig != null) | 1123 | if (sconfig != null) |
1115 | { | 1124 | { |