mantis 8573 and 8569: be more aggressive on drag block with touch on non physical prims

0.9.1.0-post-fixes
UbitUmarov 2019-08-10 13:58:11 +01:00
parent c9b7ec2af9
commit ffd5c5cc9c
1 changed files with 2 additions and 4 deletions

View File

@ -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;