diff options
author | UbitUmarov | 2014-08-03 00:22:21 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-03 00:22:21 +0100 |
commit | 9f5e19127d79a8790c31e80a4c6ae8d04d79d6ac (patch) | |
tree | c2f3c37b95e3f03086ef927717f29e8da3734015 /OpenSim/Region/Framework | |
parent | testing... (diff) | |
download | opensim-SC-9f5e19127d79a8790c31e80a4c6ae8d04d79d6ac.zip opensim-SC-9f5e19127d79a8790c31e80a4c6ae8d04d79d6ac.tar.gz opensim-SC-9f5e19127d79a8790c31e80a4c6ae8d04d79d6ac.tar.bz2 opensim-SC-9f5e19127d79a8790c31e80a4c6ae8d04d79d6ac.tar.xz |
comment out a debug msg. more on gods being Gods
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 22 |
1 files changed, 14 insertions, 8 deletions
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 | } |