projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9907b7
)
Fix deadlock when no region boundaries are selected in the Snap prefs.
author
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 2 Oct 2018 14:28:05 +0000
(09:28 -0500)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 2 Oct 2018 14:28:05 +0000
(09:28 -0500)
gtk2_ardour/editor_ops.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index 23b3d239d78e4d7954ff8cd87395765daa893779..4362b579d1e5f1ad5fda596e3e63c91f06d4dd51 100644
(file)
--- a/
gtk2_ardour/editor_ops.cc
+++ b/
gtk2_ardour/editor_ops.cc
@@
-734,6
+734,12
@@
Editor::build_region_boundary_cache ()
return;
}
+ /* if no snap boundaries were set, just bail out here with an empty region cache */
+ if ( interesting_points.empty() ) {
+ _region_boundary_cache_dirty = false;
+ return;
+ };
+
TimeAxisView *ontrack = 0;
TrackViewList tlist;