mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
add signal to indicate absence of removal of scene change from Location
This commit is contained in:
parent
cf2d2a3337
commit
8edb49acc4
2 changed files with 9 additions and 5 deletions
|
|
@ -143,8 +143,9 @@ class LIBARDOUR_API Location : public SessionHandleRef, public PBD::StatefulDest
|
|||
void set_position_lock_style (PositionLockStyle ps);
|
||||
void recompute_frames_from_bbt ();
|
||||
|
||||
static PBD::Signal0<void> scene_changed;
|
||||
|
||||
static PBD::Signal0<void> scene_changed; /* for use by backend scene change management, class level */
|
||||
PBD::Signal0<void> SceneChangeChanged; /* for use by objects interested in this object */
|
||||
|
||||
private:
|
||||
std::string _name;
|
||||
framepos_t _start;
|
||||
|
|
|
|||
|
|
@ -737,9 +737,12 @@ Location::unlock ()
|
|||
void
|
||||
Location::set_scene_change (boost::shared_ptr<SceneChange> sc)
|
||||
{
|
||||
_scene_change = sc;
|
||||
|
||||
scene_changed (); /* EMIT SIGNAL */
|
||||
if (_scene_change != sc) {
|
||||
_scene_change = sc;
|
||||
|
||||
scene_changed (); /* EMIT SIGNAL */
|
||||
SceneChangeChanged (); /* EMIT SIGNAL */
|
||||
}
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue