Allow static option for the Curve Warp Layer
[synfig.git] / synfig-core / src / modules / lyr_std / curvewarp.cpp
index 82c213d..4e6306a 100644 (file)
@@ -377,6 +377,33 @@ CurveWarp::get_param(const String & param)const
        return ValueBase();
 }
 
+bool
+CurveWarp::set_param_static(const String &param, const bool x)
+{
+
+       SET_STATIC(origin, x)
+       SET_STATIC(perp_width, x)
+       SET_STATIC(start_point, x)
+       SET_STATIC(end_point, x)
+       SET_STATIC(fast, x)
+
+       return Layer::set_param_static(param, x);
+}
+
+bool
+CurveWarp::get_param_static(const String &param)const
+{
+
+       GET_STATIC(origin)
+       GET_STATIC(perp_width)
+       GET_STATIC(start_point)
+       GET_STATIC(end_point)
+       GET_STATIC(fast)
+
+
+       return Layer::get_param_static(param);
+}
+
 Layer::Vocab
 CurveWarp::get_param_vocab()const
 {