13
0

fix uninitialised variable (fixes linked midi region negative start oatch)

This commit is contained in:
nick_m 2017-03-05 05:38:47 +11:00
parent 2780662432
commit c73e231443

View File

@ -108,6 +108,7 @@ MidiRegion::MidiRegion (boost::shared_ptr<const MidiRegion> other, MusicFrame of
: Region (other, offset)
, _start_beats (Properties::start_beats, other->_start_beats)
, _length_beats (Properties::length_beats, other->_length_beats)
, _ignore_shift (false)
{
register_properties ();