From 54e728383905c50f871c96fd44801e5321e8c0c9 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 21 Oct 2007 21:36:27 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/synfig/layer_pastecanvas.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } -- 2.7.4