mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
fix up reload of existing session by avoiding stupid early return in a RegionFactory::create() method
git-svn-id: svn://localhost/ardour2/branches/3.0@6696 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ce7a5e1c9f
commit
6ccab0da0a
1 changed files with 0 additions and 4 deletions
|
|
@ -312,10 +312,6 @@ RegionFactory::create (SourceList& srcs, const XMLNode& node)
|
||||||
boost::shared_ptr<AudioRegion> arp (ar);
|
boost::shared_ptr<AudioRegion> arp (ar);
|
||||||
ret = boost::static_pointer_cast<Region> (arp);
|
ret = boost::static_pointer_cast<Region> (arp);
|
||||||
|
|
||||||
boost::shared_ptr<Region> ret (ar);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
} else if (srcs[0]->type() == DataType::MIDI) {
|
} else if (srcs[0]->type() == DataType::MIDI) {
|
||||||
|
|
||||||
MidiRegion* mr = new MidiRegion (srcs, node);
|
MidiRegion* mr = new MidiRegion (srcs, node);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue