From: Nikita Kitaev Date: Sun, 4 Oct 2009 04:18:14 +0000 (-0700) Subject: Fix accidentally remaining hardcoded index X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=bd72f51c71690658a9ade46bcbb4fb8b7f02f1e6;p=synfig.git Fix accidentally remaining hardcoded index --- 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;