Merge branch 'genete_static_values'
[synfig.git] / synfig-core / src / modules / mod_example / filledrect.cpp
index 329012f..d78f45e 100644 (file)
@@ -66,7 +66,7 @@ SYNFIG_LAYER_SET_CVS_ID(FilledRect,"$Id$");
 /* === E N T R Y P O I N T ================================================= */
 
 FilledRect::FilledRect():
-       Layer_Composite(1.0,Color::BLEND_STRAIGHT),
+       Layer_Composite(1.0,Color::BLEND_COMPOSITE),
        color(Color::black()),
        point1(0,0),
        point2(1,1),
@@ -75,6 +75,8 @@ FilledRect::FilledRect():
        bevel(0),
        bevCircle(0)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool