Fix 2350636: "shift-drag waypoints can create duplicates at a time". Erase the old...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 26 Nov 2008 12:31:45 +0000 (12:31 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 26 Nov 2008 12:31:45 +0000 (12:31 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2282 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/waypointsimpleadd.cpp

index c6c2f08..230a82e 100644 (file)
@@ -126,6 +126,7 @@ Action::WaypointSimpleAdd::perform()
        {
                overwritten_wp = *iter.first;
                time_overwrite = true;
+               value_node->erase(overwritten_wp);
        }
 
        //add the value node in since it's safe