diff options
author | UbitUmarov | 2014-08-02 18:32:28 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-02 18:32:28 +0100 |
commit | 74447d14cda441408419bc90828975cf4b751692 (patch) | |
tree | 5951b8f168cfbd3ff8591dfd909178ba3b98511c /OpenSim/Region/CoreModules/World/Land/LandObject.cs | |
parent | crossing into a hide parcel may work now. Not nice fix.. need get back to (diff) | |
download | opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.zip opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.gz opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.bz2 opensim-SC_OLD-74447d14cda441408419bc90828975cf4b751692.tar.xz |
add some filters for NPCs
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandObject.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 7de6365..29c2234 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -244,6 +244,9 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
244 | 244 | ||
245 | public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client) | 245 | public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, IClientAPI remote_client) |
246 | { | 246 | { |
247 | if (remote_client.SceneAgent.PresenceType == PresenceType.Npc) | ||
248 | return; | ||
249 | |||
247 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); | 250 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); |
248 | uint regionFlags = 336723974 & ~((uint)(RegionFlags.AllowLandmark | RegionFlags.AllowSetHome)); | 251 | uint regionFlags = 336723974 & ~((uint)(RegionFlags.AllowLandmark | RegionFlags.AllowSetHome)); |
249 | if (estateModule != null) | 252 | if (estateModule != null) |