Author: Carlos Lopez <genet...@gmail.com> Date: Sun Jan 22 19:05:22 2012 +0100
When moving a keyframe and a waypoint needs to be added, use the default interpolation. --- .../src/synfigapp/actions/keyframeset.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/synfig-studio/src/synfigapp/actions/keyframeset.cpp b/synfig-studio/src/synfigapp/actions/keyframeset.cpp index f18897b..761d70a 100644 --- a/synfig-studio/src/synfigapp/actions/keyframeset.cpp +++ b/synfig-studio/src/synfigapp/actions/keyframeset.cpp @@ -35,6 +35,7 @@ #include <synfig/valuenode_animated.h> #include "activepointsetsmart.h" #include "waypointsetsmart.h" +#include <synfigapp/main.h> #include <synfigapp/general.h> @@ -350,6 +351,8 @@ Action::KeyframeSet::process_value_desc(const synfigapp::ValueDesc& value_desc) { waypoint.set_time(new_time); waypoint.set_value((*value_node_animated)(old_time)); + waypoint.set_before(synfigapp::Main::get_interpolation()); + waypoint.set_after(synfigapp::Main::get_interpolation()); } action->set_param("waypoint",waypoint); ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl