mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
avoid unnecessary extra fetch of thread-local tempo map after undo/redo
This commit is contained in:
parent
25ecc54208
commit
901f593af5
1 changed files with 1 additions and 3 deletions
|
|
@ -3057,10 +3057,8 @@ TempoMap::MementoBinder::set_state (XMLNode const & node, int version) const
|
|||
TempoMap::SharedPtr map (write_copy());
|
||||
/* change the state of the copy */
|
||||
map->set_state (node, version);
|
||||
/* do the update step of RCU */
|
||||
/* do the update step of RCU. This will also update this thread's map pointer */
|
||||
update (map);
|
||||
/* now update this thread's view of the current tempo map */
|
||||
fetch ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue