debugging region splitting with nowhiskey_
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Jun 2008 16:58:45 +0000 (16:58 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Jun 2008 16:58:45 +0000 (16:58 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3453 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_ops.cc
libs/ardour/session.cc

index 85fa1caa19be7fd162066608d69eb163348c161d..dddf8d4c4a5bb23647ac6b1a3a0b4cdc9c2b36c0 100644 (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(); ) {
 
index acf48b43616f9e70ff8ea78e026386b11a183dad..95bd8c9e7592e1d4807406b9f968c8cde725cb01 100644 (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;