Esempio n. 1
0
void param_set_t::end_edit( bool notify)
{
    if( command_.get() && !is_command_empty())
	undo::undo_stack_t::Instance().push_back( command_);
    else
	command_.reset();

    if( notify)
	notify_parent();

    ui::anim_editor_t::Instance().update();
}
Esempio n. 2
0
void param_set_t::end_edit( bool notify)
{
    if( command_.get() && !is_command_empty())
        app().document().undo_stack().push_back( command_);
    else
        command_.reset();

    if( notify)
        notify_parent();

    app().ui()->update();
    app().ui()->update_anim_editors();
}