projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695554a
)
fix missing command in Editor::snap_regions_to_grid ()
author
nick_m
<mainsbridge@gmail.com>
Sat, 18 Feb 2017 20:13:26 +0000
(07:13 +1100)
committer
nick_m
<mainsbridge@gmail.com>
Sat, 18 Feb 2017 20:13:26 +0000
(07:13 +1100)
- fixes 7246
gtk2_ardour/editor_ops.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index 1db9ce4423cbd563ecccedeb9aff3a3647b90f87..f5bf0ffcb7b399f7e4c3fc5c21e4d977bc9dfbd1 100644
(file)
--- a/
gtk2_ardour/editor_ops.cc
+++ b/
gtk2_ardour/editor_ops.cc
@@
-6991,10
+6991,12
@@
Editor::snap_regions_to_grid ()
used_playlists.push_back(pl);
pl->freeze();
}
+ (*r)->region()->clear_changes ();
MusicFrame start ((*r)->region()->first_frame (), 0);
snap_to (start);
(*r)->region()->set_position (start.frame, start.division);
+ _session->add_command(new StatefulDiffCommand ((*r)->region()));
}
while (used_playlists.size() > 0) {