diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 22 |
2 files changed, 15 insertions, 9 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index b0d30b6..ca6c3ca 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -358,7 +358,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
358 | return queue.Count > 0; | 358 | return queue.Count > 0; |
359 | } | 359 | } |
360 | 360 | ||
361 | m_log.WarnFormat("POLLED FOR EVENTS BY {0} unknown agent", agentID); | 361 | //m_log.WarnFormat("POLLED FOR EVENTS BY {0} unknown agent", agentID); |
362 | return true; | 362 | return true; |
363 | } | 363 | } |
364 | 364 | ||
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f3b5a54..4faad98 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -164,12 +164,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
164 | lock (parcelLock) | 164 | lock (parcelLock) |
165 | { | 165 | { |
166 | bool oldhide = m_currentParcelHide; | 166 | bool oldhide = m_currentParcelHide; |
167 | bool check = true; | 167 | bool checksame = true; |
168 | if (value != m_currentParcelUUID) | 168 | if (value != m_currentParcelUUID) |
169 | { | 169 | { |
170 | m_previusParcelHide = m_currentParcelHide; | 170 | m_previusParcelHide = m_currentParcelHide; |
171 | m_previusParcelUUID = m_currentParcelUUID; | 171 | m_previusParcelUUID = m_currentParcelUUID; |
172 | check = false; | 172 | checksame = false; |
173 | } | 173 | } |
174 | m_currentParcelUUID = value; | 174 | m_currentParcelUUID = value; |
175 | m_currentParcelHide = false; | 175 | m_currentParcelHide = false; |
@@ -177,8 +177,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
177 | ILandObject land = m_scene.LandChannel.GetLandObject(AbsolutePosition.X, AbsolutePosition.Y); | 177 | ILandObject land = m_scene.LandChannel.GetLandObject(AbsolutePosition.X, AbsolutePosition.Y); |
178 | if (land != null && !land.LandData.SeeAVs) | 178 | if (land != null && !land.LandData.SeeAVs) |
179 | m_currentParcelHide = true; | 179 | m_currentParcelHide = true; |
180 | |||
180 | if (m_previusParcelUUID != UUID.Zero) | 181 | if (m_previusParcelUUID != UUID.Zero) |
181 | ParcelCrossCheck(m_currentParcelUUID,m_previusParcelUUID,m_currentParcelHide, m_previusParcelHide, oldhide,check); | 182 | ParcelCrossCheck(m_currentParcelUUID,m_previusParcelUUID,m_currentParcelHide, m_previusParcelHide, oldhide,checksame); |
182 | } | 183 | } |
183 | } | 184 | } |
184 | } | 185 | } |
@@ -1923,8 +1924,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1923 | } | 1924 | } |
1924 | // if hide force a check | 1925 | // if hide force a check |
1925 | if (!IsChildAgent && newhide) | 1926 | if (!IsChildAgent && newhide) |
1927 | { | ||
1926 | ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID, | 1928 | ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID, |
1927 | true, m_previusParcelHide, false, true); | 1929 | true, m_previusParcelHide, false, true); |
1930 | m_currentParcelHide = newhide; | ||
1931 | } | ||
1928 | } | 1932 | } |
1929 | 1933 | ||
1930 | /// <summary> | 1934 | /// <summary> |
@@ -5511,13 +5515,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
5511 | continue; | 5515 | continue; |
5512 | 5516 | ||
5513 | // only those on previus parcel need receive kills | 5517 | // only those on previus parcel need receive kills |
5514 | if (previusParcelUUID == p.currentParcelUUID && p.GodLevel < 200) | 5518 | if (previusParcelUUID == p.currentParcelUUID) |
5515 | { | 5519 | { |
5516 | killsToSendto.Add(p); // they dont see me | 5520 | if(p.GodLevel < 200) |
5517 | killsToSendme.Add(p); // i dont see them | 5521 | killsToSendto.Add(p); // they dont see me |
5522 | if(GodLevel < 200) | ||
5523 | killsToSendme.Add(p); // i dont see them | ||
5518 | } | 5524 | } |
5519 | // only those on new parcel need see | 5525 | // only those on new parcel need see |
5520 | if (currentParcelUUID == p.currentParcelUUID || p.GodLevel >= 200) | 5526 | if (currentParcelUUID == p.currentParcelUUID) |
5521 | { | 5527 | { |
5522 | viewsToSendto.Add(p); // they see me | 5528 | viewsToSendto.Add(p); // they see me |
5523 | viewsToSendme.Add(p); // i see them | 5529 | viewsToSendme.Add(p); // i see them |
@@ -5561,7 +5567,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5561 | if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) | 5567 | if (p.IsDeleted || p == this || p.ControllingClient == null || !p.ControllingClient.IsActive) |
5562 | continue; | 5568 | continue; |
5563 | // only those old parcel need receive kills | 5569 | // only those old parcel need receive kills |
5564 | if (previusParcelUUID == p.currentParcelUUID && p.GodLevel < 200) | 5570 | if (previusParcelUUID == p.currentParcelUUID && GodLevel < 200) |
5565 | { | 5571 | { |
5566 | killsToSendme.Add(p); // i dont see them | 5572 | killsToSendme.Add(p); // i dont see them |
5567 | } | 5573 | } |