mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
(Source List) RegionFactory should return an empty region here.
This commit is contained in:
parent
e2b658244f
commit
1108706b6b
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ RegionFactory::create (boost::shared_ptr<Region> region, const PropertyList& pli
|
|||
ret->apply_changes (plist);
|
||||
|
||||
if (ret->session().config.get_glue_new_regions_to_bars_and_beats() && ret->position_lock_style() != MusicTime) {
|
||||
ret->set_position_lock_style (MusicTime);
|
||||
ret->set_position_lock_style (MusicTime);
|
||||
}
|
||||
|
||||
if (announce) {
|
||||
|
|
@ -639,6 +639,8 @@ RegionFactory::get_whole_region_for_source (boost::shared_ptr<Source> s)
|
|||
return (i->second);
|
||||
}
|
||||
}
|
||||
|
||||
return boost::shared_ptr<Region>();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue