MantisBT - opensim
View Issue Details
0006561opensim[REGION] OpenSim Corepublic2013-03-04 11:332013-03-04 11:35
Diva 
 
normalminoralways
confirmedopen 
master (dev code) 
master (dev code) 
Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
ODE, BulletSim
Mono / Linux32, Mono / Linux64, Mono / Windows, Mono / OSX, .NET / Windows32, .NET / Windows64
None
0006561: Temporary attachments persist TPs
The spec says that temporary attachments don't persist TPs but they currently do. The bug manifests itself in 2 ways:

1) current temp attachment follows with TP
2) old temp attachment that was killed with llDie attaches itself to avie when avie TPs out
1) Place this script on a cube and touch the cube once. Then TP somewhere else. The attach should be gone, but isn't.

2) Place this script on a cube and touch the cube once, then, after attached, touch it again. It disappears. Now TP somewhere else. The attachment is back.

integer i = 0;

default
{
    state_entry()
    {
        llSay(0, "Script running");
    }
    
    touch_start(integer n)
    {
        if (i == 0)
        {
            i++;
            llRequestPermissions(llDetectedKey(0), 0x20);
        }
        else
            llDie();
    }
    
    run_time_permissions( integer vBitPermissions )
    {
        if( vBitPermissions & PERMISSION_ATTACH )
        {
            llAttachToAvatarTemp( 5 );
        }
        else
        {
            llOwnerSay( "Permission to attach denied" );
        }
    }
}
No tags attached.
Issue History
2013-03-04 11:33DivaNew Issue
2013-03-04 11:35nebadonStatusnew => confirmed

There are no notes attached to this issue.