X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Fvaluedescblinelink.cpp;h=ef5ba363430ee9203a9b49f576e9580e6ca0a7e2;hb=0f6cbbaa466e8da2ac71586793015854d27f72be;hp=1c21040d5129f7450702c0a42bb4703ead1bece9;hpb=acb13618841e7cecba6f4c989b7670909f8ac235;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp b/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp index 1c21040..ef5ba36 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/valuedescblinelink.cpp @@ -189,6 +189,8 @@ Action::ValueDescBLineLink::prepare() calculated_value_node = ValueNode_BLineCalcTangent::create(ValueBase::TYPE_VECTOR); else if (link_name == "width") calculated_value_node = ValueNode_BLineCalcWidth::create(ValueBase::TYPE_REAL); + else if (link_name == "point") + calculated_value_node = ValueNode_BLineCalcVertex::create(ValueBase::TYPE_VECTOR); else { synfig::warning("can't link '%s'", link_name.c_str()); @@ -243,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;