X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Fmod_example%2Ffilledrect.cpp;h=d78f45ed685dcadbd1d80b553ff5646800fc7296;hb=d43ed398fd84b93b96eb91d91dafdf65c80537e6;hp=329012f3330cb731b99c7a4c18ccc354419440cb;hpb=ac5caa76ff6cc25a7923c86350851a84bb40a93a;p=synfig.git diff --git a/synfig-core/src/modules/mod_example/filledrect.cpp b/synfig-core/src/modules/mod_example/filledrect.cpp index 329012f..d78f45e 100644 --- a/synfig-core/src/modules/mod_example/filledrect.cpp +++ b/synfig-core/src/modules/mod_example/filledrect.cpp @@ -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