tell the SceneChanger to emit any relevant scene changes after a locate

This commit is contained in:
Paul Davis 2014-05-02 18:43:37 -04:00
parent 25a5c317f9
commit 27cff1dc01

View File

@ -42,6 +42,7 @@
#include "ardour/debug.h" #include "ardour/debug.h"
#include "ardour/location.h" #include "ardour/location.h"
#include "ardour/profile.h" #include "ardour/profile.h"
#include "ardour/scene_changer.h"
#include "ardour/session.h" #include "ardour/session.h"
#include "ardour/slave.h" #include "ardour/slave.h"
#include "ardour/operations.h" #include "ardour/operations.h"
@ -456,6 +457,8 @@ Session::non_realtime_locate ()
(*i)->non_realtime_locate (_transport_frame); (*i)->non_realtime_locate (_transport_frame);
} }
_scene_changer->locate (_transport_frame);
/* XXX: it would be nice to generate the new clicks here (in the non-RT thread) /* XXX: it would be nice to generate the new clicks here (in the non-RT thread)
rather than clearing them so that the RT thread has to spend time constructing rather than clearing them so that the RT thread has to spend time constructing
them (in Session::click). them (in Session::click).