X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Flayer_composite.cpp;h=2dda09fcb5f33ee43442be28bd97f1893e41d6aa;hb=42e8f249832b9ca81691bbf76a6668aa4612117f;hp=2e9daeb59ecaca4fcd78ca52b35878b19116d588;hpb=18bd95649e87854ac1fbe471231158c8979983cd;p=synfig.git diff --git a/synfig-core/src/synfig/layer_composite.cpp b/synfig-core/src/synfig/layer_composite.cpp index 2e9daeb..2dda09f 100644 --- a/synfig-core/src/synfig/layer_composite.cpp +++ b/synfig-core/src/synfig/layer_composite.cpp @@ -154,9 +154,11 @@ Layer_Composite::get_param_vocab()const //! Now inserts the two parameters that this layer knows. ret.push_back(ParamDesc(amount,"amount") .set_local_name(_("Amount")) + .set_description(_("Alpha channel of the layer")) ); ret.push_back(ParamDesc(blend_method,"blend_method") .set_local_name(_("Blend Method")) + .set_description(_("The blending method used to composite on the layers below")) ); return ret; @@ -236,24 +238,3 @@ Layer_Composite::get_param(const String & param)const //! to see if it can handle that parameter's string. return Layer::get_param(param); } - -bool -Layer_Composite::set_param_static(const String ¶m, const bool x) -{ - - //SET_STATIC(amount, x) - //SET_STATIC(blend_method, x) - - return Layer::set_param_static(param, x); -} - - -bool -Layer_Composite::get_param_static(const String ¶m) const -{ - - //GET_STATIC(amount); - //GET_STATIC(blend_method); - - return Layer::get_param_static(param); -}