diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
6 files changed, 7 insertions, 22 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 0512e48..ed1bab4 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -1398,7 +1398,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
1398 | presence.Grouptitle = Title; | 1398 | presence.Grouptitle = Title; |
1399 | 1399 | ||
1400 | if (! presence.IsChildAgent) | 1400 | if (! presence.IsChildAgent) |
1401 | presence.SendAvatarDataToAllClients(); | 1401 | presence.SendAvatarDataToAllAgents(); |
1402 | } | 1402 | } |
1403 | } | 1403 | } |
1404 | } | 1404 | } |
diff --git a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs index d3c46c9..50a5fae 100644 --- a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs +++ b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs | |||
@@ -153,14 +153,6 @@ namespace OpenSim.Region.OptionalModules | |||
153 | 153 | ||
154 | ILandObject newParcel = scene.LandChannel.GetLandObject(newPoint.X, newPoint.Y); | 154 | ILandObject newParcel = scene.LandChannel.GetLandObject(newPoint.X, newPoint.Y); |
155 | 155 | ||
156 | <<<<<<< HEAD | ||
157 | // newParcel will be null only if it outside of our current region. If this is the case, then the | ||
158 | // receiving permissions will perform the check. | ||
159 | if (newParcel == null) | ||
160 | return true; | ||
161 | |||
162 | // The prim hasn't crossed a region boundary so we don't need to worry | ||
163 | ======= | ||
164 | if (newParcel == null) | 156 | if (newParcel == null) |
165 | return true; | 157 | return true; |
166 | 158 | ||
@@ -168,7 +160,6 @@ namespace OpenSim.Region.OptionalModules | |||
168 | ILandObject oldParcel = scene.LandChannel.GetLandObject(oldPoint.X, oldPoint.Y); | 160 | ILandObject oldParcel = scene.LandChannel.GetLandObject(oldPoint.X, oldPoint.Y); |
169 | 161 | ||
170 | // The prim hasn't crossed a region boundry so we don't need to worry | 162 | // The prim hasn't crossed a region boundry so we don't need to worry |
171 | >>>>>>> avn/ubitvar | ||
172 | // about prim counts here | 163 | // about prim counts here |
173 | if(oldParcel != null && oldParcel.Equals(newParcel)) | 164 | if(oldParcel != null && oldParcel.Equals(newParcel)) |
174 | { | 165 | { |
diff --git a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs index edf51a2..e7d461f 100644 --- a/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/JsonStore/JsonStoreScriptModule.cs | |||
@@ -746,8 +746,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore | |||
746 | 746 | ||
747 | List<SceneObjectGroup> objlist; | 747 | List<SceneObjectGroup> objlist; |
748 | List<Vector3> veclist; | 748 | List<Vector3> veclist; |
749 | 749 | ||
750 | bool success = host.RootPart.Inventory.GetRezReadySceneObjects(item, out objlist, out veclist); | 750 | Vector3 bbox = new Vector3(); |
751 | float offsetHeight; | ||
752 | bool success = host.RootPart.Inventory.GetRezReadySceneObjects(item, out objlist, out veclist, out bbox, out offsetHeight); | ||
751 | if (! success) | 753 | if (! success) |
752 | { | 754 | { |
753 | GenerateRuntimeError("Failed to create object"); | 755 | GenerateRuntimeError("Failed to create object"); |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index dc1ea95..35af6e7 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -61,11 +61,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
61 | private readonly string m_firstname; | 61 | private readonly string m_firstname; |
62 | private readonly string m_lastname; | 62 | private readonly string m_lastname; |
63 | private readonly Vector3 m_startPos; | 63 | private readonly Vector3 m_startPos; |
64 | <<<<<<< HEAD | ||
65 | private readonly UUID m_uuid; | ||
66 | ======= | ||
67 | private UUID m_uuid = UUID.Random(); | 64 | private UUID m_uuid = UUID.Random(); |
68 | >>>>>>> avn/ubitvar | ||
69 | private readonly Scene m_scene; | 65 | private readonly Scene m_scene; |
70 | private readonly UUID m_ownerID; | 66 | private readonly UUID m_ownerID; |
71 | 67 | ||
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index 2977195..9dc4489 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -457,12 +457,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
457 | /// <returns>true if they do, false if they don't.</returns> | 457 | /// <returns>true if they do, false if they don't.</returns> |
458 | private bool CheckPermissions(NPCAvatar av, UUID callerID) | 458 | private bool CheckPermissions(NPCAvatar av, UUID callerID) |
459 | { | 459 | { |
460 | <<<<<<< HEAD | ||
461 | return callerID == UUID.Zero || av.OwnerID == UUID.Zero || | 460 | return callerID == UUID.Zero || av.OwnerID == UUID.Zero || |
462 | av.OwnerID == callerID || av.AgentId == callerID; | 461 | av.OwnerID == callerID || av.AgentId == callerID; |
463 | ======= | ||
464 | return callerID == UUID.Zero || av.OwnerID == UUID.Zero || av.OwnerID == callerID || av.AgentId == callerID; | ||
465 | >>>>>>> avn/ubitvar | ||
466 | } | 462 | } |
467 | } | 463 | } |
468 | } | 464 | } |
diff --git a/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs b/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs index a26d145..1102aca 100644 --- a/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs +++ b/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs | |||
@@ -166,7 +166,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments | |||
166 | cdl.AddRow("physics", m_scene.PhysicsEnabled); | 166 | cdl.AddRow("physics", m_scene.PhysicsEnabled); |
167 | cdl.AddRow("scripting", m_scene.ScriptsEnabled); | 167 | cdl.AddRow("scripting", m_scene.ScriptsEnabled); |
168 | cdl.AddRow("teleport", m_scene.DebugTeleporting); | 168 | cdl.AddRow("teleport", m_scene.DebugTeleporting); |
169 | cdl.AddRow("update-on-timer", m_scene.UpdateOnTimer); | 169 | // cdl.AddRow("update-on-timer", m_scene.UpdateOnTimer); |
170 | cdl.AddRow("updates", m_scene.DebugUpdates); | 170 | cdl.AddRow("updates", m_scene.DebugUpdates); |
171 | 171 | ||
172 | MainConsole.Instance.OutputFormat("Scene {0} options:", m_scene.Name); | 172 | MainConsole.Instance.OutputFormat("Scene {0} options:", m_scene.Name); |
@@ -313,7 +313,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments | |||
313 | bool enableUpdateOnTimer; | 313 | bool enableUpdateOnTimer; |
314 | if (bool.TryParse(options["update-on-timer"], out enableUpdateOnTimer)) | 314 | if (bool.TryParse(options["update-on-timer"], out enableUpdateOnTimer)) |
315 | { | 315 | { |
316 | m_scene.UpdateOnTimer = enableUpdateOnTimer; | 316 | // m_scene.UpdateOnTimer = enableUpdateOnTimer; |
317 | m_scene.Active = false; | 317 | m_scene.Active = false; |
318 | 318 | ||
319 | while (m_scene.IsRunning) | 319 | while (m_scene.IsRunning) |