aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-01-01 12:06:29 +0000
committerUbitUmarov2019-01-01 12:06:29 +0000
commit02492f7b15f29419c1ea4725a6ae6959bc199912 (patch)
tree2967fed8eba4d3b801a763ddeb50804226c446cb /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parenttemporary HACK to not kill some viewers (diff)
downloadopensim-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.cs9
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;
45using GridRegion = OpenSim.Services.Interfaces.GridRegion; 45using GridRegion = OpenSim.Services.Interfaces.GridRegion;
46using OpenSim.Services.Interfaces; 46using OpenSim.Services.Interfaces;
47using TeleportFlags = OpenSim.Framework.Constants.TeleportFlags; 47using TeleportFlags = OpenSim.Framework.Constants.TeleportFlags;
48using Caps = OpenSim.Framework.Capabilities.Caps;
48 49
49namespace OpenSim.Region.Framework.Scenes 50namespace 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 {