/* === S Y N F I G ========================================================= */
/*! \file layer_solidcolor.cpp
-** \brief Template Header
+** \brief Implementation of the "Solid Color" layer
**
** $Id$
**
bool
Layer_SolidColor::set_param(const String & param, const ValueBase &value)
{
- IMPORT(color);
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
+ set_blend_method(Color::BLEND_ALPHA_OVER);
+ color.set_a(1); } else transparent_color_ = true; } });
return Layer_Composite::set_param(param,value);
}