X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fsynfigapp%2Factions%2Flayerparamunsetstatic.cpp;h=e336a5c1b59236c352ae6d483739c083f4cfba75;hb=c7db90e8c78a1acfa048cf4078dee67939de7456;hp=814b1a55fd3efb0c3bbbdc8ecc7338f10f614b30;hpb=d43ed398fd84b93b96eb91d91dafdf65c80537e6;p=synfig.git diff --git a/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp b/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp index 814b1a5..e336a5c 100644 --- a/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp +++ b/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp @@ -47,7 +47,7 @@ using namespace Action; ACTION_INIT(Action::LayerParamUnSetStatic); ACTION_SET_NAME(Action::LayerParamUnSetStatic,"LayerParamUnSetStatic"); -ACTION_SET_LOCAL_NAME(Action::LayerParamUnSetStatic,N_("UnSet Static")); +ACTION_SET_LOCAL_NAME(Action::LayerParamUnSetStatic,N_("Allow Animation")); ACTION_SET_TASK(Action::LayerParamUnSetStatic,"unsetstatic"); ACTION_SET_CATEGORY(Action::LayerParamUnSetStatic,Action::CATEGORY_VALUEDESC); ACTION_SET_PRIORITY(Action::LayerParamUnSetStatic,0); @@ -103,8 +103,8 @@ Action::LayerParamUnSetStatic::is_candidate(const ParamList &x) //! Retrieves the current parameter parameter = _layer->get_param(_param_name); //! Check that the parameter is not a inline canvas - if(parameter.get_type()==ValueBase::TYPE_CANVAS) - if(parameter.get(Canvas::Handle())->is_inline() && parameter.get(Canvas::Handle())) + if(parameter.get_type()==ValueBase::TYPE_CANVAS && parameter.get(Canvas::Handle())) + if(parameter.get(Canvas::Handle())->is_inline()) return false; //! Check if it is not static if(!parameter.get_static())