Sessions loaded from 2.X don't have a diskstream (yet)
in Track::set_state(); prevent a crash, at least; not 100% sure if the behaviour is right, though. git-svn-id: svn://localhost/ardour2/branches/3.0@10975 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
692f857b83
commit
ed360080d0
@ -115,7 +115,9 @@ Track::set_state (const XMLNode& node, int version)
|
||||
}
|
||||
}
|
||||
|
||||
_diskstream->playlist()->set_orig_track_id (id());
|
||||
if (_diskstream) {
|
||||
_diskstream->playlist()->set_orig_track_id (id());
|
||||
}
|
||||
|
||||
/* set rec-enable control *AFTER* setting up diskstream, because it may
|
||||
want to operate on the diskstream as it sets its own state
|
||||
|
Loading…
Reference in New Issue
Block a user