From: dooglus Date: Fri, 28 Mar 2008 12:11:36 +0000 (+0000) Subject: Allow the linking of angle layer parameters to blines too. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=72f3f5287dc9b9988217d0fe2024e3b23d2f9f4c;p=synfig.git Allow the linking of angle layer parameters to blines too. git-svn-id: http://svn.voria.com/code@1932 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp b/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp index 3c1487d..ef5ba36 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp @@ -245,6 +245,9 @@ Action::ValueDescBLineLink::prepare() // REAL layer parameter else if (value_desc.get_value_type() == ValueBase::TYPE_REAL) calculated_value_node = ValueNode_BLineCalcWidth::create(ValueBase::TYPE_REAL); + // ANGLE layer parameter + else if (value_desc.get_value_type() == ValueBase::TYPE_ANGLE) + calculated_value_node = ValueNode_BLineCalcTangent::create(ValueBase::TYPE_ANGLE); else continue;