Allow the linking of angle layer parameters to blines too.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Mar 2008 12:11:36 +0000 (12:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Mar 2008 12:11:36 +0000 (12:11 +0000)
git-svn-id: http://svn.voria.com/code@1932 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp

index 3c1487d..ef5ba36 100644 (file)
@@ -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;