diff options
author | UbitUmarov | 2012-07-01 00:08:31 +0100 |
---|---|---|
committer | UbitUmarov | 2012-07-01 00:08:31 +0100 |
commit | 96270b1b28907139977b3afaf8bcada10eeb3ab9 (patch) | |
tree | dba499b8be226b2043660e438746611245b27be4 /OpenSim | |
parent | ubitode: create and use 4 off world collision spaces for offworld static prims (diff) | |
parent | Remove spammy debug (diff) | |
download | opensim-SC-96270b1b28907139977b3afaf8bcada10eeb3ab9.zip opensim-SC-96270b1b28907139977b3afaf8bcada10eeb3ab9.tar.gz opensim-SC-96270b1b28907139977b3afaf8bcada10eeb3ab9.tar.bz2 opensim-SC-96270b1b28907139977b3afaf8bcada10eeb3ab9.tar.xz |
Merge branch 'avination' into ubitwork
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index 357c2af..6215526 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -352,9 +352,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
352 | UUID fromAgentID, string fromName, ChatTypeEnum type, | 352 | UUID fromAgentID, string fromName, ChatTypeEnum type, |
353 | string message, ChatSourceType src) | 353 | string message, ChatSourceType src) |
354 | { | 354 | { |
355 | // don't send llRegionSay to child agents. Send normal chat because you | 355 | // don't send chat to child agents |
356 | // can't talk across sim borders if it's not done | 356 | if (presence.IsChildAgent) return false; |
357 | if (type == ChatTypeEnum.Broadcast && presence.IsChildAgent) return false; | ||
358 | 357 | ||
359 | Vector3 fromRegionPos = fromPos + regionPos; | 358 | Vector3 fromRegionPos = fromPos + regionPos; |
360 | Vector3 toRegionPos = presence.AbsolutePosition + | 359 | Vector3 toRegionPos = presence.AbsolutePosition + |
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 4284444..5974112 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -200,7 +200,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
200 | * (long)m_scene.RegionInfo.ObjectCapacity | 200 | * (long)m_scene.RegionInfo.ObjectCapacity |
201 | * (long)m_scene.RegionInfo.RegionSettings.ObjectBonus | 201 | * (long)m_scene.RegionInfo.RegionSettings.ObjectBonus |
202 | / 65536L); | 202 | / 65536L); |
203 | m_log.DebugFormat("Area: {0}, Capacity {1}, Bonus {2}, Parcel {3}", LandData.Area, m_scene.RegionInfo.ObjectCapacity, m_scene.RegionInfo.RegionSettings.ObjectBonus, parcelMax); | 203 | //m_log.DebugFormat("Area: {0}, Capacity {1}, Bonus {2}, Parcel {3}", LandData.Area, m_scene.RegionInfo.ObjectCapacity, m_scene.RegionInfo.RegionSettings.ObjectBonus, parcelMax); |
204 | return parcelMax; | 204 | return parcelMax; |
205 | } | 205 | } |
206 | } | 206 | } |