Layer_Duplicate::get_param_vocab()const
{
Layer::Vocab ret;
- //ret=Layer_Composite::get_param_vocab();
+ ret=Layer_Composite::get_param_vocab();
ret.push_back(ParamDesc("index")
.set_local_name(_("Index"))
Color::BlendMethod blend_method(get_blend_method());
int steps = duplicate_param->count_steps(time_cur);
+ Mutex::Lock lock(mutex);
duplicate_param->reset_index(time_cur);
do
{
Surface::alpha_pen apen(surface->begin());
apen.set_alpha(1.0);
// \todo have a checkbox allowing use of 'behind' to reverse the order?
- apen.set_blend_method(blend_method);
+ apen.set_blend_method(i ? blend_method : Color::BLEND_COMPOSITE);
tmp.blit_to(apen);
i++;
} while (duplicate_param->step(time_cur));
- duplicate_param->reset_index(time_cur);
-
return true;
}