diff options
author | UbitUmarov | 2017-01-06 17:33:12 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-06 17:33:12 +0000 |
commit | 497c4178850f616103690944838aee940b122302 (patch) | |
tree | e38d84a51eeb30ec59d7d4f4727c943325a8835f /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Remove parcel_owner_is_god option. It is conceptually wrong and with (diff) | |
download | opensim-SC-497c4178850f616103690944838aee940b122302.zip opensim-SC-497c4178850f616103690944838aee940b122302.tar.gz opensim-SC-497c4178850f616103690944838aee940b122302.tar.bz2 opensim-SC-497c4178850f616103690944838aee940b122302.tar.xz |
add a missing god_date transmition
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 01e0aac..0c88c78 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1045,7 +1045,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1045 | public ScenePresence( | 1045 | public ScenePresence( |
1046 | IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) | 1046 | IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) |
1047 | { | 1047 | { |
1048 | GodController = new GodController(world, this); | ||
1049 | 1048 | ||
1050 | m_scene = world; | 1049 | m_scene = world; |
1051 | AttachmentsSyncLock = new Object(); | 1050 | AttachmentsSyncLock = new Object(); |
@@ -1072,8 +1071,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1072 | else | 1071 | else |
1073 | m_userFlags = 0; | 1072 | m_userFlags = 0; |
1074 | 1073 | ||
1074 | int userlevel = 0; | ||
1075 | if (account != null) | 1075 | if (account != null) |
1076 | GodController.UserLevel = account.UserLevel; | 1076 | userlevel = account.UserLevel; |
1077 | |||
1078 | // GodController = new GodController(world, this, userlevel); | ||
1079 | GodController = new GodController(world, this); | ||
1077 | 1080 | ||
1078 | // IGroupsModule gm = m_scene.RequestModuleInterface<IGroupsModule>(); | 1081 | // IGroupsModule gm = m_scene.RequestModuleInterface<IGroupsModule>(); |
1079 | // if (gm != null) | 1082 | // if (gm != null) |
@@ -4612,6 +4615,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4612 | cAgent.UpAxis = CameraUpAxis; | 4615 | cAgent.UpAxis = CameraUpAxis; |
4613 | 4616 | ||
4614 | cAgent.Far = DrawDistance; | 4617 | cAgent.Far = DrawDistance; |
4618 | cAgent.GodData = GodController.State(); | ||
4615 | 4619 | ||
4616 | // Throttles | 4620 | // Throttles |
4617 | cAgent.Throttles = ControllingClient.GetThrottlesPacked(1); | 4621 | cAgent.Throttles = ControllingClient.GetThrottlesPacked(1); |