diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index dcfe79b66e..199aa92dda 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -2097,8 +2097,7 @@ namespace OpenSim.Region.Framework.Scenes { SceneObjectPart part = GetPart(localId); - if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || - (part.PassTouches && (RootPart.ScriptEvents & scriptEvents.anytouch) != 0)) + if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || (RootPart.ScriptEvents & scriptEvents.anytouch) != 0) lastTouchTime = Util.GetTimeStampMS(); OnGrabPart(part, offsetPos, remoteClient); } @@ -3673,8 +3672,7 @@ namespace OpenSim.Region.Framework.Scenes } // a touch or pass may had become active ?? - if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || - (part.PassTouches && (RootPart.ScriptEvents & scriptEvents.anytouch) != 0)) + if (((part.ScriptEvents & scriptEvents.anytouch) != 0) || (RootPart.ScriptEvents & scriptEvents.anytouch) != 0) { lastTouchTime = now; return;