Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008760opensim[REGION] Script Functionspublic2020-09-01 10:302020-09-01 11:39
ReporterKayaker Magic 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformUbuntuOSLinuxOS Version0.9.2 Yeti
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008760: llSetTextureAnimation corrupts settings on some faces
DescriptionIf you animate a texture on one face of a prim, then animate a different face, it becomes impossible to edit the texture parameters of previously animated faces.
I saw this with XEngine or YEngine.
Steps To ReproduceDrop the following script into a cube. It slides all textures for 10 seconds then switches to only sliding the top surface. Edit the cube and try to change the texture parameters on one of the sides. You will find that you can no longer change the scale, rotation or offset of the unrelated side textures any more. (It might help to put interesting textures on the cube).
Additional Informationdefault
{
    state_entry()
    {
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, 1.0);
        llSetTimerEvent(10.0);
    }
    timer()
    {
        llSetTextureAnim(0 , ALL_SIDES, 1, 1, 1.0, 1.0, 1.0);
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , 0, 1, 1, 1.0, 1.0, 1.0);
        llSetTimerEvent(0.0);
    }
}
TagsNo tags attached.
Git Revision or version numberfda873da4a4b8a0fd17d3b538d044e1702efbcbd
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script EngineYEngine
EnvironmentMono / Linux64
Mono Version6.x
ViewerFireStorm
Attached Files

- Relationships

-  Notes
(0036762)
UbitUmarov (administrator)
2020-09-01 10:48

don't understand the issue

float rate = 1.0;
default
{
    state_entry()
    {
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, 1.0);
        llSetTimerEvent(1.0);
    }
    timer()
    {
        rate = -rate;
        llSay(0,rate);
        llSetTextureAnim(0 , ALL_SIDES, 1, 1, 1.0, 1.0, 1.0);
        llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , 0, 1, 1, 1.0, 1.0, rate);
    }
}

works fine
(0036763)
UbitUmarov (administrator)
2020-09-01 11:19

changes on other faces parameters does not work bc viewers
(0036764)
Kayaker Magic (reporter)
2020-09-01 11:37

Dang, I should have tried it in SL. I do see the same behavior there.

- Issue History
Date Modified Username Field Change
2020-09-01 10:30 Kayaker Magic New Issue
2020-09-01 10:48 UbitUmarov Note Added: 0036762
2020-09-01 11:19 UbitUmarov Note Added: 0036763
2020-09-01 11:19 UbitUmarov Product Version 0.9.1.0 => master (dev code)
2020-09-01 11:37 Kayaker Magic Note Added: 0036764
2020-09-01 11:39 Kayaker Magic Status new => resolved
2020-09-01 11:39 Kayaker Magic Resolution open => no change required


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker