Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007049opensim[REGION] Script Functionspublic2014-03-07 17:432014-04-19 13:22
Reporterargus Portal 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007049: llSetTextureAnim causes wrong positions
DescriptionllSetTextureAnim causes wrong positions in combination with the TEXTURE-Option with llSetLinkPrimitiveParamsFast.
Steps To Reproduce1. Rezz a prim
2. Insert the following script in its inventory
3. Insert a usable texture in its inventory and name it "testtextur"

4. Click several times on it and see, that the position changes. Thsi don't happen in SecondLife.


Here the Script:



// Demonstration of a bug with llSetTextureAnim

// 1. Choose a texture that contains some structures for easier testing.
// 2. Place the mouse on a easy recognizable position.
// 3. Click several times and see, that the texture change its position.

// This don't happen in SecondLife.





default
{
    state_entry()
    {
    }

    on_rez(integer s)
    {
        llResetScript();
    }

    touch_start(integer nr)
    {
        llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_TEXTURE,ALL_SIDES,"testtextur",<1,1,0>,ZERO_VECTOR,0.0]);

        llSleep(1.0);

        llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_TEXTURE,ALL_SIDES,"testtextur",<1,1,0>,<0.3,0,0>,0.0]);

        llSetTextureAnim(ANIM_ON | LOOP | SMOOTH , ALL_SIDES,
                         1 , // sizex
                         1 , // sizey
                         1.0 , // start
                         1.0 , //Länge
                         -0.2 ); // fps

        llSetTimerEvent(1.0);
    }
    
    

    timer()
    {
        llSetTimerEvent(0.0);
        llSetTextureAnim(FALSE, ALL_SIDES, 0, 0, 0.0, 0.0, 1.0);
        llSleep(0.2);
        llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_TEXTURE,ALL_SIDES,"testtextur",<1,1,0>,ZERO_VECTOR,0.0]);
    }


}




TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0025394)
lmmz (reporter)
2014-03-07 18:05

I have also noticed that llSetTextureAnim() doesn't seem to work as expected. Thanks for reporting this.
(0025804)
lmmz (reporter)
2014-04-19 13:22

Anybody have time to look at this before 0.8.0 release?

- Issue History
Date Modified Username Field Change
2014-03-07 17:43 argus Portal New Issue
2014-03-07 18:05 lmmz Note Added: 0025394
2014-04-19 13:22 lmmz Note Added: 0025804


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker