Fix a bug causing PasteCanvas layer to adjust its waypoints in the wrong direction...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 21 Oct 2007 21:36:27 +0000 (21:36 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 21 Oct 2007 21:36:27 +0000 (21:36 +0000)
git-svn-id: http://svn.voria.com/code@940 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer_pastecanvas.cpp

index 026a113..f8308a7 100644 (file)
@@ -417,9 +417,7 @@ void Layer_PasteCanvas::get_times_vfunc(Node::time_set &set) const
        //TODO: SOMETHING STILL HAS TO BE DONE WITH THE OTHER DIRECTION
        //              (recursing down the tree needs to take this into account too...)
        for(; i != end; ++i)
-       {
-               set.insert(*i + time_offset);
-       }
+               set.insert(*i - time_offset);
 
        Layer::get_times_vfunc(set);
 }