X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fsynfigapp%2Factions%2Flayerparamunsetstatic.cpp;h=31009d68e99d9d748ee5b6a75354ffafb889f838;hb=6d45356ea06941c2d8f814581c5516b862f9218d;hp=00fbc100dd460c92aca11207f1b684c6c48e1f36;hpb=d89cce8e78eddd1edfd63a3048a5083638dc8b22;p=synfig.git diff --git a/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp b/synfig-studio/src/synfigapp/actions/layerparamunsetstatic.cpp index 00fbc10..31009d6 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 Layer Parameter 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); @@ -104,7 +104,7 @@ Action::LayerParamUnSetStatic::is_candidate(const ParamList &x) 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()) + if(parameter.get(Canvas::Handle())->is_inline() && parameter.get(Canvas::Handle())) return false; //! Check if it is not static if(!parameter.get_static())