Another bigger one: support for undo/redo in planar figures.

There's not much to say here - just that in addition the insertion of 
control points to subdivision polygon is fixed (after being broken some 
time ago) and a bit of code cleanup regarding number of control points 
not always being the actual number of control points - this was used for 
placement but it is so unintuitive I decided to replace that by 
introducing a new virtual method named 
GetPlacementNumberOfControlPoints. Also I fixed some bugs along the way.

Additionally, apparently there was a merging problem and current master 
has the Interactions folder also not in the src directory. Fortunately, 
the bug that was fixed in this file was also fixed in my fork, so I just 
deleted it.

The tests pass, but the bezier curve and non-closed planar polygon 
interaction fail because it seems that it was recorded when the 
aforementioned bug was still in place so some points get rejected due to 
being too close to each other (which is a correct behavior).



Bug: http://bugs.mitk.org/show_bug.cgi?id=13974
Pull request: https://github.com/MITK/MITK/pull/113

Rostislav.

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to