Set imported regions to be opaque by default

This commit is contained in:
Robin Gareus
2022-12-14 16:10:22 +01:00
parent 27dfd8a7e3
commit 224f7bb263

View File

@@ -826,6 +826,7 @@ Editor::add_sources (vector<string> paths,
plist.add (ARDOUR::Properties::layer, 0);
plist.add (ARDOUR::Properties::whole_file, true);
plist.add (ARDOUR::Properties::external, true);
plist.add (ARDOUR::Properties::opaque, true);
boost::shared_ptr<Region> r = RegionFactory::create (sources, plist);
@@ -919,6 +920,7 @@ Editor::add_sources (vector<string> paths,
plist.add (ARDOUR::Properties::layer, 0);
plist.add (ARDOUR::Properties::whole_file, true);
plist.add (ARDOUR::Properties::external, true);
plist.add (ARDOUR::Properties::opaque, true);
boost::shared_ptr<Region> r = RegionFactory::create (just_one, plist);