mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
use a better initializer for region creation during import
This commit is contained in:
parent
b866335d8f
commit
a41a1ffa04
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ Editor::add_sources (vector<string> paths,
|
|||
|
||||
PropertyList plist;
|
||||
|
||||
plist.add (ARDOUR::Properties::start, 0);
|
||||
plist.add (ARDOUR::Properties::start, timecnt_t());
|
||||
plist.add (ARDOUR::Properties::length, sources[0]->length ());
|
||||
plist.add (ARDOUR::Properties::name, region_name);
|
||||
plist.add (ARDOUR::Properties::layer, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue