#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);