Jit.gl.handle bug revisited


    Jul 14 2009 | 3:46 pm
    Whenever you enter a rotation into a jit.gl.handle, it seems to remember the last rotation input by mouse too. Then, when you start using the mouse again, it jumps to its previous rotation. Can't mouseinput be relative immediately?
    I'm using multiple 3D 'scenes' in which objects are rotated, but when trying to tweak the rotation I have to do it all over if I've switched scenes in the mean time. I'm using one handle per object, changing handle sizes to make only one available at a time.
    This has been a problem for a couple of years now, in Max 4 we actually had a workaround for it, but it causes trouble now. Does anyone have any ideas about this? Example patch to reproduce:

    • Jul 14 2009 | 4:51 pm
      thanks for the patch. i can reproduce and will take a look.
    • Jul 14 2009 | 6:46 pm
      hi bas.
      i've attached an updated version of gl.handle which should fix this problem. not sure what OS you're on, but this is for mac. let me know if you need a windows build.
      -rob
    • Jul 15 2009 | 8:50 am
      Awesome! I'm on Mac, this seems to work just perfect. Hero fix!
      Btw, do you work for cycling? And if not, I hope this is included in the next release.
    • Jul 15 2009 | 2:09 pm
      Yes, nice, thx Rob!
    • Jul 15 2009 | 3:19 pm
      great to hear. yes i am a cycling employee and this will make it to the next release.