Define Layer::get_non_empty_description() which returns the layer's description if...
[synfig.git] / synfig-core / trunk / src / synfig / layer_motionblur.cpp
index b02ba72..5ae8a8f 100644 (file)
@@ -1,6 +1,6 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file layer_motionblur.cpp
-**     \brief Template Header
+**     \brief Implementation of the "Motion Blur" layer
 **
 **     $Id$
 **
@@ -53,8 +53,8 @@ using namespace std;
 
 SYNFIG_LAYER_INIT(Layer_MotionBlur);
 SYNFIG_LAYER_SET_NAME(Layer_MotionBlur,"MotionBlur"); // todo: use motion_blur
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_MotionBlur,_("Motion Blur"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_MotionBlur,_("Blurs"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_MotionBlur,N_("Motion Blur"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_MotionBlur,N_("Blurs"));
 SYNFIG_LAYER_SET_VERSION(Layer_MotionBlur,"0.1");
 SYNFIG_LAYER_SET_CVS_ID(Layer_MotionBlur,"$Id$");
 
@@ -161,11 +161,11 @@ Layer_MotionBlur::accelerated_render(Context context,Surface *surface,int qualit
                                samples=3;
                                break;
                        case 9:
-                               samples=3;
+                               samples=2;
                                break;
                        case 10: // Rough Quality
             default:
-                               samples=2;
+                               samples=1;
                                break;
 
                }