#36 QuickMove throws NullPointException

0.56.x and 0.57.x
closed-fixed
Hugo Corbucci
Commands (10)
9
2009-04-09
2009-04-09
Hugo Corbucci
No

When trying to quickly move an arc, I get a lots of null point exceptions although it performs correctly at the end.
The helper drawing also isn't painted.

Discussion

  • Hugo Corbucci
    Hugo Corbucci
    2009-04-09

    The quick move factory relied on repeating MANY times move and unmove operations. However, those operations introduce small double error representation which end up by changing the element's hashcode (this is a serious problem).
    Fixed it by always creating clones to draw and throw them away immediately.

     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-09

    • status: open --> closed-fixed
     
  • Hugo Corbucci
    Hugo Corbucci
    2009-04-09

    Oh! Fixed on revision 1571.