Fix region property inheritance (GUI)
This commit is contained in:
parent
e40f58c106
commit
d9c6842ea3
@ -7588,7 +7588,7 @@ Editor::split_region_at_points (boost::shared_ptr<Region> r, AnalysisFeatureList
|
||||
|
||||
/* do NOT announce new regions 1 by one, just wait till they are all done */
|
||||
|
||||
PropertyList plist (r->properties ());
|
||||
PropertyList plist (r->derive_properties ());
|
||||
|
||||
plist.add (ARDOUR::Properties::start, file_start);
|
||||
plist.add (ARDOUR::Properties::length, len);
|
||||
@ -7617,7 +7617,7 @@ Editor::split_region_at_points (boost::shared_ptr<Region> r, AnalysisFeatureList
|
||||
RegionFactory::region_name (new_name, r->name());
|
||||
|
||||
/* Add the final region */
|
||||
PropertyList plist (r->properties ());
|
||||
PropertyList plist (r->derive_properties ());
|
||||
|
||||
plist.add (ARDOUR::Properties::start, r->start() + pos);
|
||||
plist.add (ARDOUR::Properties::length, (r->position() + pos).distance (r->end()));
|
||||
|
Loading…
Reference in New Issue
Block a user