X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_vectorlength.cpp;h=79fc79f5d9e8388c2eb1138337eaca2655a6c5f9;hb=d4cb326591ea23f82d341eb368b3d183b46f56c7;hp=3839ad8fc42feaaf47f25edd56ad520ba44efd65;hpb=71e30a766e852b1a96ad035adc4ba21e5a422f70;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_vectorlength.cpp b/synfig-core/src/synfig/valuenode_vectorlength.cpp index 3839ad8..79fc79f 100644 --- a/synfig-core/src/synfig/valuenode_vectorlength.cpp +++ b/synfig-core/src/synfig/valuenode_vectorlength.cpp @@ -164,3 +164,16 @@ ValueNode_VectorLength::check_type(ValueBase::Type type) { return type==ValueBase::TYPE_REAL; } + +LinkableValueNode::Vocab +ValueNode_VectorLength::get_children_vocab_vfunc()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"vector") + .set_local_name(_("Vector")) + .set_description(_("The vector where the length is calculated from")) + ); + + return ret; +}