13
0

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
This commit is contained in:
Carl Hetherington 2011-04-16 11:30:58 +00:00
parent b999368186
commit 443c51fee2

View File

@ -3361,7 +3361,7 @@ Editor::bounce_range_selection (bool replace, bool enable_processing)
for (TrackViewList::iterator i = views.begin(); i != views.end(); ++i) { for (TrackViewList::iterator i = views.begin(); i != views.end(); ++i) {
RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (*i); RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (*i);
if (rtv && !rtv->track()->bounceable()) { if (rtv && rtv->track() && !rtv->track()->bounceable()) {
MessageDialog d ( MessageDialog d (
_("One or more selected tracks cannot be bounced because it has more outputs than inputs. " _("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.") "You can fix this by increasing the number of inputs on that track.")