use explicit timepos_t() for region start property in property lists (gui edition)

This commit is contained in:
Paul Davis 2020-12-18 13:01:53 -07:00
parent 94afcba111
commit b451a50b95
5 changed files with 9 additions and 6 deletions

View file

@ -916,7 +916,7 @@ Editor::add_sources (vector<string> paths,
len = timecnt_t (_session->sample_rate ()) / 2;
}
plist.add (ARDOUR::Properties::start, 0);
plist.add (ARDOUR::Properties::start, timepos_t (0));
plist.add (ARDOUR::Properties::length, len);
plist.add (ARDOUR::Properties::name, region_name);
plist.add (ARDOUR::Properties::layer, 0);