From 443c51fee23855c709c83e016a80895e4e2dc0c7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 16 Apr 2011 11:30:58 +0000 Subject: [PATCH] Fix crash on bouncing a range selection that includes a buss (#3962). git-svn-id: svn://localhost/ardour2/branches/3.0@9356 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index b88cd3cf4c..a1bb3c0c99 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -3361,7 +3361,7 @@ Editor::bounce_range_selection (bool replace, bool enable_processing) for (TrackViewList::iterator i = views.begin(); i != views.end(); ++i) { RouteTimeAxisView* rtv = dynamic_cast (*i); - if (rtv && !rtv->track()->bounceable()) { + if (rtv && rtv->track() && !rtv->track()->bounceable()) { MessageDialog d ( _("One or more selected tracks cannot be bounced because it has more outputs than inputs. " "You can fix this by increasing the number of inputs on that track.")