Module: synfig Branch: nikitakit_extranodes Commit: 1ea2acafb7955a4ef1f291f844b43c27852d800d URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1ea2acafb7955a4ef1f291f844b43c27852d800d
Author: Nikita Kitaev <nikita...@gmail.com> Date: Sat Oct 3 21:18:14 2009 -0700 Fix accidentally remaining hardcoded index --- .../src/synfigapp/actions/valuedescset.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/synfig-studio/src/synfigapp/actions/valuedescset.cpp b/synfig-studio/src/synfigapp/actions/valuedescset.cpp index 9b7a7d4..83b2646 100644 --- a/synfig-studio/src/synfigapp/actions/valuedescset.cpp +++ b/synfig-studio/src/synfigapp/actions/valuedescset.cpp @@ -302,7 +302,7 @@ Action::ValueDescSet::prepare() case ValueBase::TYPE_VECTOR: { Angle old_angle = (*(ValueNode_RadialComposite::Handle::cast_dynamic( - value_desc.get_value_node())->get_link(1)))(time).get(Angle()); + value_desc.get_value_node())->get_link("theta")))(time).get(Angle()); Vector vect(value.get(Vector())); components[0]=vect.mag(); Angle change = Angle(Angle::tan(vect[1],vect[0])) - old_angle; ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl