Author: Carlos Lopez <genet...@gmail.com> Date: Mon Feb 13 13:49:40 2012 +0100
Roll back fix of bug #3405011 because it produce other worse bug --- .../actions/valuenodedynamiclistinsertsmart.cpp | 24 ++++++++++---------- 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/synfig-studio/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp b/synfig-studio/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp index cfaaf7d..141de8a 100644 --- a/synfig-studio/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp +++ b/synfig-studio/src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp @@ -228,22 +228,22 @@ Action::ValueNodeDynamicListInsertSmart::prepare() // This commented code creates a 'off' Active Point at time.begin() // that produces bugs like - //action=Action::create("ActivepointSetOff"); + action=Action::create("ActivepointSetOff"); - //if(!action) - //throw Error(_("Unable to find action \"ActivepointSetOff\"")); + if(!action) + throw Error(_("Unable to find action \"ActivepointSetOff\"")); - //action->set_param("edit_mode",MODE_ANIMATE); - //action->set_param("canvas",get_canvas()); - //action->set_param("canvas_interface",get_canvas_interface()); - //action->set_param("time",Time::begin()); - //action->set_param("origin",origin); - //action->set_param("value_desc",ValueDesc(value_node,index)); + action->set_param("edit_mode",MODE_ANIMATE); + action->set_param("canvas",get_canvas()); + action->set_param("canvas_interface",get_canvas_interface()); + action->set_param("time",Time::begin()); + action->set_param("origin",origin); + action->set_param("value_desc",ValueDesc(value_node,index)); - //if(!action->is_ready()) - //throw Error(Error::TYPE_NOTREADY); + if(!action->is_ready()) + throw Error(Error::TYPE_NOTREADY); - //add_action(action); + add_action(action); } // Now we set the activepoint up and then we'll be done ------------------------------------------------------------------------------ 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