summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-01-17 08:29:55 +0000
committerTim E. Real <termtech@rogers.com>2013-01-17 08:29:55 +0000
commit44ec81027b75f7e59492ef41b3a38c15d0532877 (patch)
treed66f6a2db37fe6fbaffab0dab137b853f1b3425d /muse2/muse
parent48a4361dc66411d0edb0f92826a1fb6b0e06c386 (diff)
Fixed song length way too big after recorded wave is added.
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/wave.cpp2
1 files changed, 1 insertions, 1 deletions
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)