Add new valuenode convert type called "Reverse Tangent" to allow blinepoint's tangent...
[synfig.git] / synfig-core / trunk / src / synfig / layer_polygon.cpp
index 5445355..067f3bd 100644 (file)
@@ -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();