Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-41065] Setting llSetText will reset llSetTextureAnim #12653

Closed
2 tasks
sl-service-account opened this issue Dec 15, 2016 · 2 comments
Closed
2 tasks

[BUG-41065] Setting llSetText will reset llSetTextureAnim #12653

sl-service-account opened this issue Dec 15, 2016 · 2 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Dec 15, 2016

Steps to Reproduce

  1. Rez cube[1]

  2. Use demo script:

    default{
        state_entry(){
            llSetLinkPrimitiveParamsFast(0,[PRIM_TEXTURE, ALL_SIDES, "f0a38a46-24b7-c7c9-cf7b-0764204d083a", <1,1,0>, <0,0,0>, 1]);
            llSetTextureAnim(ANIM_ON|LOOP, ALL_SIDES, 5, 4, 0.0, 20, 23.976);
        }
    }
  3. Rez new cube[2] with demo script 2:

  4. default{
        state_entry(){
            llSetMemoryLimit(0x2000);
            llSetTimerEvent(0.1);
            llSetLinkPrimitiveParamsFast(0,[PRIM_TEXTURE, ALL_SIDES, "f0a38a46-24b7-c7c9-cf7b-0764204d083a", <1,1,0>, <0,0,0>, 1]);
            llSetTextureAnim(ANIM_ON|LOOP, ALL_SIDES, 5, 4, 0.0, 20, 23.976);
        }
        timer(){
            llSetText("WEW LAD", <llFrand(1), llFrand(1), llFrand(1)>, 1);   
        }
    }

    Actual Behavior

    llSetText will reset the current frame increment to zero.
    Notice how cube 1 will loop seamlessly through a hue of delicious gummy, while cube 2 keeps resetting to frame 0.

    Expected Behavior

    llSetText should not affect llSetTextureAnim in any way

    Other information

    High speed llSetText loop because it makes it obvious what is supposed to happen, I know this may not be "supported", but it will do the same if there is a LONG llSetTextureAnim and llSetText gets updated.

Links

Related

Duplicates

Original Jira Fields
Field Value
Issue BUG-41065
Summary Setting llSetText will reset llSetTextureAnim
Type Bug
Priority Unset
Status Closed
Resolution Duplicate
Reporter Chaser Zaks (chaser.zaks)
Created at 2016-12-15T07:03:54Z
Updated at 2023-03-09T23:32:06Z
{
  'Business Unit': ['Platform'],
  'Date of First Response': '2016-12-15T12:21:05.739-0600',
  "Is there anything you'd like to add?": 'boxes',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'filling',
  'What were you doing when it happened?': 'in',
  'What were you expecting to happen instead?': 'the',
}
@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2016-12-15T18:21:06Z

I think this is a dupe of BUG-3061.

Maestro said on BUG-4455...

Maestro Linden added a comment - 19/Nov/13 6:00 PM

I think we can rephrase BUG-3061 more generally as 'full object updates cause texture animations to be reset to the first frame

@sl-service-account
Copy link
Author

Grumpity Linden commented at 2016-12-19T17:55:45Z

Thanks Chaser! It's a dupe.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant