add signal to indicate absence of removal of scene change from Location
This commit is contained in:
parent
8367b7cab3
commit
a47cacfcc6
@ -144,7 +144,8 @@ 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;
|
||||
|
@ -759,9 +759,12 @@ Location::unlock ()
|
||||
void
|
||||
Location::set_scene_change (boost::shared_ptr<SceneChange> sc)
|
||||
{
|
||||
_scene_change = sc;
|
||||
if (_scene_change != sc) {
|
||||
_scene_change = sc;
|
||||
|
||||
scene_changed (); /* EMIT SIGNAL */
|
||||
scene_changed (); /* EMIT SIGNAL */
|
||||
SceneChangeChanged (); /* EMIT SIGNAL */
|
||||
}
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user