Use map of static values indexed by parameter name instead of the macros and the...
[synfig.git] / synfig-core / src / synfig / layer_motionblur.cpp
index 855112c..03bd076 100644 (file)
@@ -68,6 +68,8 @@ Layer_MotionBlur::Layer_MotionBlur():
        subsample_start         (0.0),
        subsample_end           (1.0)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool
@@ -264,3 +266,17 @@ Layer_MotionBlur::accelerated_render(Context context,Surface *surface,int qualit
 
        return true;
 }
+
+
+bool
+Layer_MotionBlur::set_param_static(const String &param, const bool x)
+{
+       return Layer_Composite::set_param_static(param, x);
+}
+
+
+bool
+Layer_MotionBlur::get_param_static(const String &param) const
+{
+       return Layer_Composite::get_param_static(param);
+}