summaryrefslogtreecommitdiff
path: root/libs/ardour/filter.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-03-30 23:40:28 +0000
committerCarl Hetherington <carl@carlh.net>2010-03-30 23:40:28 +0000
commite3dd8cc3ee481924997a1650e3a130b2579be209 (patch)
treec14bd1999d9e7887f6ec05dff2a697aa0323223a /libs/ardour/filter.cc
parent6721d997b159842e2c977ec0dd0c94002c0e1e47 (diff)
Move region naming stuff from Session into RegionFactory, cleaning up some vestiges of when Session had a list of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6812 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/filter.cc')
-rw-r--r--libs/ardour/filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc
index 2ff93316f3..44e7f11cbd 100644
--- a/libs/ardour/filter.cc
+++ b/libs/ardour/filter.cc
@@ -116,7 +116,7 @@ Filter::finish (boost::shared_ptr<Region> region, SourceList& nsrcs, string regi
/* create a new region */
if (region_name.empty()) {
- region_name = session.new_region_name (region->name());
+ region_name = RegionFactory::new_region_name (region->name());
}
results.clear ();