From: dooglus Date: Sun, 21 Oct 2007 21:36:27 +0000 (+0000) Subject: Fix a bug causing PasteCanvas layer to adjust its waypoints in the wrong direction... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=54e728383905c50f871c96fd44801e5321e8c0c9;p=synfig.git Fix a bug causing PasteCanvas layer to adjust its waypoints in the wrong direction for time offsets. git-svn-id: http://svn.voria.com/code@940 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index 026a113..f8308a7 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -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); }