summaryrefslogtreecommitdiff
path: root/libs/ardour/region.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/region.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/region.cc')
-rw-r--r--libs/ardour/region.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index acd4e1b9dc..bb9338d98d 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -486,7 +486,7 @@ Region::first_edit ()
if (_first_edit != EditChangesNothing && pl) {
- _name = _session.new_region_name (_name);
+ _name = RegionFactory::new_region_name (_name);
_first_edit = EditChangesNothing;
send_change (Properties::name);