#include "bccmodels.h"
#include "bccolors.h"
#include "clip.h"
+#include "edl.h"
#include "edlsession.h"
#include "filexml.h"
#include "crikey.h"
int CriKey::new_point()
{
- EDLSession *session = get_edlsession();
+ EDLSession *session = get_edl()->session;
float x = !session ? 0.f : session->output_w / 2.f;
float y = !session ? 0.f : session->output_h / 2.f;
return config.add_point(-1, 0, x, y, 0.5f);
if( !pt->e ) continue;
if( set_target(engine->color, pt->x, pt->y) ) continue;
engine->threshold = pt->t;
- edg->clear_frame();
+ edg->black_frame();
engine->process_packages();
fill_edge(edg, w, h);
FillRegion fill_region(edg, msk);