Revision: 2282
          http://synfig.svn.sourceforge.net/synfig/?rev=2282&view=rev
Author:   dooglus
Date:     2008-11-26 12:31:45 +0000 (Wed, 26 Nov 2008)

Log Message:
-----------
Fix 2350636: "shift-drag waypoints can create duplicates at a time".  Erase the 
old waypoint before adding the copy.

Modified Paths:
--------------
    synfig-studio/trunk/src/synfigapp/actions/waypointsimpleadd.cpp

Modified: synfig-studio/trunk/src/synfigapp/actions/waypointsimpleadd.cpp
===================================================================
--- synfig-studio/trunk/src/synfigapp/actions/waypointsimpleadd.cpp     
2008-11-26 12:31:23 UTC (rev 2281)
+++ synfig-studio/trunk/src/synfigapp/actions/waypointsimpleadd.cpp     
2008-11-26 12:31:45 UTC (rev 2282)
@@ -126,6 +126,7 @@
        {
                overwritten_wp = *iter.first;
                time_overwrite = true;
+               value_node->erase(overwritten_wp);
        }
 
        //add the value node in since it's safe


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to