Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008854opensim[REGION] OpenSim Corepublic2021-01-25 02:212021-01-25 06:39
ReporterLotek 
Assigned ToLotek 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOperating SystemOperating System Version
Product Version 
Target VersionFixed in Version 
Summary0008854: touch_end not passed through to root prim from child prims
DescriptionIn commit 13a7ce38eee, the grp.RootPart.ScriptEvents flag is mistakenly checked against touch_start instead of touch_end

This results in touch_end clicks not getting passed through to the rootprim

Attached patch 0001 fixes this, while patch 0002 adds missing constants for llPassTouches()
Steps To ReproduceLink two boxes, put this script in the rootprim:

default
{
    state_entry()
    {

    }
    
    touch_end(integer i)
    {
        llOwnerSay((string)llDetectedLinkNumber(0));
    }
}
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
Script EngineYEngine
EnvironmentMono / Linux64
Mono VersionNone
Viewer
Attached Filespatch file icon 0001-Correct-touch_end-event-passing-to-root-prim.patch [^] (1,169 bytes) 2021-01-25 02:21 [Show Content]
patch file icon 0002-Add-constants-for-llPassTouches.patch [^] (1,063 bytes) 2021-01-25 02:21 [Show Content]

- Relationships

-  Notes
(0037517)
piusnoel (reporter)
2021-01-25 05:05

I can confirm the issue. I tried this patch and it resolved the issue.
(0037518)
UbitUmarov (administrator)
2021-01-25 06:15

Thanks.
Fixed the typo.

opensim does not have those constants.
llPassTouches and llPassCollisions are as OLD SL with argument TRUE or FALSE only.

http://lslwiki.digiworldz.com/lslwiki/wakka.php?wakka=llPassTouches [^]
http://lslwiki.digiworldz.com/lslwiki/wakka.php?wakka=llPassCollisions [^]

another difference is that if different scripts on same prim set different value, result is unpredictable (in most cases the last llPass*() executed will be the active one).

- Issue History
Date Modified Username Field Change
2021-01-25 02:21 Lotek New Issue
2021-01-25 02:21 Lotek File Added: 0001-Correct-touch_end-event-passing-to-root-prim.patch
2021-01-25 02:21 Lotek File Added: 0002-Add-constants-for-llPassTouches.patch
2021-01-25 05:05 piusnoel Note Added: 0037517
2021-01-25 06:15 UbitUmarov Note Added: 0037518
2021-01-25 06:39 Lotek Status new => resolved
2021-01-25 06:39 Lotek Resolution open => fixed
2021-01-25 06:39 Lotek Assigned To => Lotek


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker