debugging region splitting with nowhiskey_

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3453 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2008-06-10 16:58:45 +00:00
parent 8d5e5ecd16
commit d3cb241309
2 changed files with 5 additions and 1 deletions

View file

@ -140,7 +140,8 @@ Editor::split_regions_at (nframes64_t where, RegionSelection& regions)
} else {
snap_to (where);
}
cerr << "Split " << regions.size() << " at " << where << endl;
for (RegionSelection::iterator a = regions.begin(); a != regions.end(); ) {

View file

@ -2574,9 +2574,12 @@ Session::region_name (string& result, string base, bool newlevel) const
bool name_taken = true;
{
Glib::Mutex::Lock lm (region_lock);
cerr << "Session::region_name() searching over " << audio_regions.size() << " existing regions\n";
for (int n = 1; n < 5000; ++n) {
result = subbase;