aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2019-08-10 13:58:11 +0100
committerUbitUmarov2019-08-10 13:58:11 +0100
commitffd5c5cc9c0d7c9bb4311caf1745a8b51e8a7d24 (patch)
tree5e4273fcfda228d954d9e6bdf93d87a95954d9f0
parentMake the DNS cache timeout configurable. (diff)
downloadopensim-SC-ffd5c5cc9c0d7c9bb4311caf1745a8b51e8a7d24.zip
opensim-SC-ffd5c5cc9c0d7c9bb4311caf1745a8b51e8a7d24.tar.gz
opensim-SC-ffd5c5cc9c0d7c9bb4311caf1745a8b51e8a7d24.tar.bz2
opensim-SC-ffd5c5cc9c0d7c9bb4311caf1745a8b51e8a7d24.tar.xz
mantis 8573 and 8569: be more aggressive on drag block with touch on non physical prims
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index dcfe79b..199aa92 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2097,8 +2097,7 @@ namespace OpenSim.Region.Framework.Scenes
2097 { 2097 {
2098 SceneObjectPart part = GetPart(localId); 2098 SceneObjectPart part = GetPart(localId);
2099 2099
2100 if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || 2100 if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || (RootPart.ScriptEvents & scriptEvents.anytouch) != 0)
2101 (part.PassTouches && (RootPart.ScriptEvents & scriptEvents.anytouch) != 0))
2102 lastTouchTime = Util.GetTimeStampMS(); 2101 lastTouchTime = Util.GetTimeStampMS();
2103 OnGrabPart(part, offsetPos, remoteClient); 2102 OnGrabPart(part, offsetPos, remoteClient);
2104 } 2103 }
@@ -3673,8 +3672,7 @@ namespace OpenSim.Region.Framework.Scenes
3673 } 3672 }
3674 3673
3675 // a touch or pass may had become active ?? 3674 // a touch or pass may had become active ??
3676 if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || 3675 if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || (RootPart.ScriptEvents & scriptEvents.anytouch) != 0)
3677 (part.PassTouches && (RootPart.ScriptEvents & scriptEvents.anytouch) != 0))
3678 { 3676 {
3679 lastTouchTime = now; 3677 lastTouchTime = now;
3680 return; 3678 return;