projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7a5e1
)
fix up reload of existing session by avoiding stupid early return in a RegionFactory...
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 14:15:15 +0000
(14:15 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 14:15:15 +0000
(14:15 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6696
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/region_factory.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/region_factory.cc
b/libs/ardour/region_factory.cc
index 652354b7fa1cbe15d9e031cdb8623d61308569bc..ae4df173e4b0b59623a815d28f67256aff2f0543 100644
(file)
--- a/
libs/ardour/region_factory.cc
+++ b/
libs/ardour/region_factory.cc
@@
-312,10
+312,6
@@
RegionFactory::create (SourceList& srcs, const XMLNode& node)
boost::shared_ptr<AudioRegion> arp (ar);
ret = boost::static_pointer_cast<Region> (arp);
- boost::shared_ptr<Region> ret (ar);
-
- return ret;
-
} else if (srcs[0]->type() == DataType::MIDI) {
MidiRegion* mr = new MidiRegion (srcs, node);