Uploaded image for project: 'Firestorm'
  1. Firestorm
  2. FIRE-7984

[BUG-477] [MAINT-1755] [3.4Merge] llTargetOmega() with zero spinrate resets rotation

    Details

    • Type: Bug
    • Status: Passed QA
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Phoenix Firestorm 4.3.0
    • Fix Version/s: Phoenix Firestorm 4.3.1
    • Component/s: Rendering
    • Labels:
    • Environment:
    • SL Avatar Name:
      Whirly Fizzle
    • Reported In:
      Firestorm 4.3.0

      Description

      Steps to Reproduce

      • Create a prim and give it omega rotation. Wait a little bit, then give it a second omega rotation call with a spinrate of zero. This is reproducible in all uses of omega rotation with llTargetOmega or llSetPrimitiveParams or llSetLinkPrimitiveParams, whether as the root or a child, whether with prim physics shape set to none or not, whether the object is phantom or not.
      • Create a prim and add the following script
      //-------------------------------
      
      integer swap = TRUE;
      
      default
      {
      state_entry()
      { llSetTimerEvent(1.5); }
      
      timer()
      { swap = !swap; if(swap) llTargetOmega(<0,0,1>, 1, 1); else llTargetOmega(<0,0,1>, 0, 1); }
      
      }

      Observed Behaviour

      A prim spinning with omega rotation, given a second omega rotation call with a spinrate of zero, resets it rotational position when it stops.

      Expected Behaviour

      The correct behavior would be for the box to spin, then stop, then freeze, then stop, without resetting. The current behavior has incorrectly changed to reset rotation each time it stops.

      Video showing the expected and buggy behaviours is here: http://youtu.be/uSphASc_k04?hd=1

      Reproduces on...

      • Firestorm 4.3.0 (30659) Oct 18 2012 11:32:41 (Firestorm-Fizzlefire)
      • Second Life 3.4.0 (264911) Sep 19 2012 11:15:02 (Second Life Release)
      • Second Life 3.4.1 (265898) Oct 15 2012 20:35:56 (Second Life Beta Viewer)

      Doesnt reproduce on...

      • Firestorm 4.2.2 Release
      • Second Life 3.3.4 (264214) Aug 31 2012 06:30:36 (Second Life Release)

        Issue Links

          Activity

          Hide
          whirly.fizzle Whirly Fizzle added a comment -

          This still repros on Firestorm 4.3.0 (30928) Nov 10 2012 03:23:42 (Firestorm-Fizzlefire) and will be in the beta release.

          Show
          whirly.fizzle Whirly Fizzle added a comment - This still repros on Firestorm 4.3.0 (30928) Nov 10 2012 03:23:42 (Firestorm-Fizzlefire) and will be in the beta release.
          Hide
          whirly.fizzle Whirly Fizzle added a comment -
          Show
          whirly.fizzle Whirly Fizzle added a comment - Fixed rev 30997 ( http://hg.phoenixviewer.com/phoenix-firestorm-lgpl/rev/3c36190ceb28 )

            People

            • Assignee:
              shouldbeworkingonit.linden ShouldBeWorkingOnIt Linden
              Reporter:
              whirly.fizzle Whirly Fizzle
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: