Fixed bug 011178 "Add curve: duplicated entry" and bug 011176.
Authored by: ion_vasilief 2007-05-25
Parent: [r548]
Child: [r550]