X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_polygon.cpp;h=e3cec1ff12d088832394d0b2a614e3e711805041;hb=2f30f664764cd4e2908d3465197c680b9ed2145d;hp=544535567db54d999f0de30dbe5b7dccd131bcf5;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_polygon.cpp b/synfig-core/trunk/src/synfig/layer_polygon.cpp index 5445355..e3cec1f 100644 --- a/synfig-core/trunk/src/synfig/layer_polygon.cpp +++ b/synfig-core/trunk/src/synfig/layer_polygon.cpp @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file layer_polygon.cpp -** \brief Template Header +** \brief Implementation of the "Polygon" layer ** ** $Id$ ** @@ -56,8 +56,8 @@ using namespace etl; SYNFIG_LAYER_INIT(Layer_Polygon); SYNFIG_LAYER_SET_NAME(Layer_Polygon,"polygon"); -SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,_("Polygon")); -SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,_("Geometry")); +SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,N_("Polygon")); +SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,N_("Geometry")); SYNFIG_LAYER_SET_VERSION(Layer_Polygon,"0.1"); SYNFIG_LAYER_SET_CVS_ID(Layer_Polygon,"$Id$"); @@ -139,7 +139,7 @@ Layer_Polygon::clear() bool Layer_Polygon::set_param(const String & param, const ValueBase &value) { - if( param=="vector_list" && value.same_as(vector_list)) + if( param=="vector_list" && value.same_type_as(vector_list)) { vector_list=value; Layer_Shape::clear();