edit_curv does not manage undo/redo correctly
@davidcl)
Reported by Clement DAVID (BUG DESCRIPTION:
----------------
Instead of storing, the last value and use it on undo. The undo/redo management should track changes
in a list and a redo index to manage the redo position.
ERROR LOG:
----------
None
HOW TO REPRODUCE THE BUG:
-------------------------
edit_curve()
// click to add some points
// click on Edit->Undo twice
OTHER INFORMATION:
------------------
Edited by Samuel GOUGEON