Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006561opensim[REGION] OpenSim Corepublic2013-03-04 11:332013-03-04 11:35
ReporterDiva 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target Versionmaster (dev code)Fixed in Version 
Summary0006561: Temporary attachments persist TPs
DescriptionThe 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
Steps To Reproduce1) 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" );
        }
    }
}
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineODE, BulletSim
EnvironmentMono / Linux32, Mono / Linux64, Mono / Windows, Mono / OSX, .NET / Windows32, .NET / Windows64
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-03-04 11:33 Diva New Issue
2013-03-04 11:35 nebadon Status new => confirmed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker