summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
Diffstat (limited to 'muse2')
-rw-r--r--muse2/ChangeLog3
-rw-r--r--muse2/muse/wave.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index 77506419..9b89ddc3 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,3 +1,6 @@
+17.01.2013:
+ - Fixed song length way too big after recorded wave is added. (Tim)
+ Was a simple regression in Song::cmdAddRecordedWave back when tempo recording was added.
15.01.2013:
- Reinstate old Arranger "Paste to track" (Ctl+Shift+V) and "Paste clone to track" (Ctl+Shift+B). (Tim...)
- Changed default shortcut of Arranger "Paste clone" to Ctl+B.
diff --git a/muse2/muse/wave.cpp b/muse2/muse/wave.cpp
index c2969f6d..8c647685 100644
--- a/muse2/muse/wave.cpp
+++ b/muse2/muse/wave.cpp
@@ -1085,7 +1085,7 @@ void Song::cmdAddRecordedWave(MusECore::WaveTrack* track, MusECore::Pos s, MusEC
unsigned sframe = (a_rast == 1) ? s.frame() : Pos(AL::sigmap.raster1(s.tick(), MusEGlobal::song->arrangerRaster())).frame();
// Round the end up using the Arranger part snap raster value.
unsigned eframe = (a_rast == 1) ? e.frame() : Pos(AL::sigmap.raster2(e.tick(), MusEGlobal::song->arrangerRaster())).frame();
- unsigned etick = Pos(eframe).tick();
+ unsigned etick = Pos(eframe, false).tick();
// Done using master tempo map. Restore master flag.
if(MusEGlobal::extSyncFlag.value() && !master_was_on)