mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
87c7b62103
commit
3e1eb6bcbd
5 changed files with 11 additions and 15 deletions
|
|
@ -211,14 +211,11 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
|
|||
|
||||
/* no regions, just a single line for the entire track (e.g. bus gain) */
|
||||
} else {
|
||||
static const Evoral::IdentityConverter<double,nframes_t> null_converter;
|
||||
|
||||
boost::shared_ptr<AutomationLine> line(new AutomationLine (
|
||||
ARDOUR::EventTypeMap::instance().to_symbol(_control->parameter()),
|
||||
*this,
|
||||
*_canvas_display,
|
||||
_control->alist(),
|
||||
null_converter));
|
||||
_control->alist()));
|
||||
|
||||
line->set_line_color (ARDOUR_UI::config()->canvasvar_ProcessorAutomationLine.get());
|
||||
line->queue_reset ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue