Merge branch 'genete_static_values'
[synfig.git] / synfig-core / src / modules / mod_geometry / rectangle.cpp
index 374af9c..ee50b80 100644 (file)
@@ -75,13 +75,15 @@ inline int floor_to_int(const double x) { return static_cast<int>(floor(x)); }
 /* === E N T R Y P O I N T ================================================= */
 
 Rectangle::Rectangle():
-       Layer_Composite(1.0,Color::BLEND_STRAIGHT),
+       Layer_Composite(1.0,Color::BLEND_COMPOSITE),
        color(Color::black()),
        point1(0,0),
        point2(1,1),
        expand(0),
        invert(false)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool