Author Topic: UITweener bug  (Read 2982 times)

ryan

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 90
    • View Profile
UITweener bug
« on: July 31, 2012, 05:42:54 PM »
Steps to reproduce:
  • Call TweenScale.Begin with a game object.
  • Call Toggle on that TweenScale.
  • Call TweenScale.Begin again on the same game object.
Admittedly a strange use case, but the second Begin call will fail because it's setting mFactor to 0 but not reinitializing mAmountPerDelta, which is negative from the call to Toggle.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITweener bug
« Reply #1 on: July 31, 2012, 10:28:35 PM »
Thanks, I've added a fix.