secondlife / jira-archive

3 stars 0 forks source link

[BUG-7488] Transition animations set through llSetAnimationOverride stop triggering #15189

Open sl-service-account opened 10 years ago

sl-service-account commented 10 years ago

Steps to Reproduce

I do not have a precise reproduction. Also, the bug seems to come and go. For several seconds, you can perform the task (jumping is an easy one) and everything will work fine. Continue doing so, and it will spontaneously stop working. Continue more, and it will spontaneously start working again.

It has periods of functionality and periods of inactivity which I'm guessing are less than a minute – fairly quick. Just sitting there pressing the jump button will eventually cause a reproduction.

Typing, moving around, etc, do not seem to change the timing or behavior, as far as I can tell.

Actual Behavior

The transition animations in llSetAnimationOverride() – PreJumping, Landing, Standing Up, and Soft Landing – stop playing. The animation that would play after that transition animation is immediately triggered instead.

Expected Behavior

I'm expecting the transition animations to play consistently.

Other information

The normal, unoverriden prejump does not suffer from this problem. I tested to make sure.

Any animation that only lasts a few seconds will work as a prejumping test animation. The following script (in a worn prim) can be used for testing.

anim() {
    llRequestPermissions(llGetOwner(), PERMISSION_OVERRIDE_ANIMATIONS);
    llSetAnimationOverride("PreJumping", llGetInventoryName(INVENTORY_ANIMATION,0));
}

default
{
    state_entry() {
        if (llGetAttached()) {
            anim();
        }
    }

    attach(key k) {
        if (k) {
            anim();
        }
        else {
            llResetAnimationOverride("PreJumping");
        }
    }
}

Links

Duplicates

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-7488 | | Summary | Transition animations set through llSetAnimationOverride stop triggering | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Stickman Ingmann (stickman.ingmann) | | Created at | 2014-10-09T01:43:55Z | | Updated at | 2022-05-01T23:17:21Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2014-10-09T10:52:21.050-0500', "Is there anything you'd like to add?": 'The normal, unoverriden prejump does not suffer from this problem. I tested to make sure.\r\n\r\nAny animation that only lasts a few seconds will work as a prejumping test animation. The following script (in a worn prim) can be used for testing.\r\n\r\n[code]anim() {\r\n llRequestPermissions(llGetOwner(), PERMISSION_OVERRIDE_ANIMATIONS);\r\n llSetAnimationOverride("PreJumping", llGetInventoryName(INVENTORY_ANIMATION,0));\r\n}\r\n\r\ndefault\r\n{\r\n state_entry() {\r\n if (llGetAttached()) {\r\n anim();\r\n }\r\n }\r\n \r\n attach(key k) {\r\n if (k) {\r\n anim();\r\n }\r\n else {\r\n llResetAnimationOverride("PreJumping");\r\n }\r\n }\r\n}[/code]', 'Severity': 'Unset', 'System': 'SL Simulator', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'The transition animations in llSetAnimationOverride() -- PreJumping, Landing, Standing Up, and Soft Landing -- stop playing. The animation that would play after that transition animation is immediately triggered instead.', 'What were you doing when it happened?': "I do not have a precise reproduction. Also, the bug seems to come and go. For several seconds, you can perform the task (jumping is an easy one) and everything will work fine. Continue doing so, and it will spontaneously stop working. Continue more, and it will spontaneously start working again.\r\n\r\nIt has periods of functionality and periods of inactivity which I'm guessing are less than a minute -- fairly quick. Just sitting there pressing the jump button will eventually cause a reproduction.\r\n\r\nTyping, moving around, etc, do not seem to change the timing or behavior, as far as I can tell.", 'What were you expecting to happen instead?': "I'm expecting the transition animations to play consistently.", } ```
sl-service-account commented 10 years ago

Whirly Fizzle commented at 2014-10-09T15:52:21Z, updated at 2014-10-09T15:53:43Z

Reproduces easily for me on Second Life 3.7.17 (294943) Sep 29 2014 17:00:36 (Second Life Release) A good 50% of jumps I do not see the prejump animation playing when wearing a prim containing the above script. I stripped down to the default character female test avatar when testing.


Second Life 3.7.17 (294943) Sep 29 2014 17:00:36 (Second Life Release)
Release Notes

You are at 187.3, 90.1, 21.7 in Testylvania Sandbox located at sim10658.agni.lindenlab.com (216.82.53.20:13001)
SLURL: http://maps.secondlife.com/secondlife/Testylvania%20Sandbox/187/90/22
(global coordinates 332,731.0, 306,266.0, 21.7)
Second Life RC Snack 14.10.03.295112
Release Notes

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3491.94 MHz)
Memory: 16268 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 750/PCIe/SSE2

Windows Graphics Driver Version: 9.18.0013.4411
OpenGL Version: 4.4.0 NVIDIA 344.11

libcurl Version: libcurl/7.37.0 OpenSSL/1.0.1h zlib/1.2.8
J2C Decoder Version: KDU v7.0
Audio Driver Version: FMOD Ex 4.44.31
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Vivox 4.6.0009.20030

Built with MSVC version 1600
Packets Lost: 61/9,516 (0.6%)
sl-service-account commented 10 years ago

Maestro Linden commented at 2014-10-09T16:49:47Z

Both of you are testing with non-looping transition animations only, right? If any transition animations loop, wonky behavior is currently expected (as noted in the wiki).

sl-service-account commented 10 years ago

Caleb Linden commented at 2014-10-09T18:21:53Z

I am able to reproduce this issue with Whirley's steps.

sl-service-account commented 10 years ago

Whirly Fizzle commented at 2014-10-09T18:34:26Z

Yes, non-looping. I can pass the animation I used but looks like caleb reprod anyway :)