~quadrispro/qtractor/trunk

« back to all changes in this revision

Viewing changes to src/qtractorClip.cpp

  • Committer: rncbc
  • Date: 2014-11-01 10:32:43 UTC
  • Revision ID: svn-v4:e0d40dc8-ea4a-44c7-bef6-bdaa6cc6c87d:trunk:4139
- Extending punch-in/out over loop-recording/takes modes...(FIXED)

Show diffs side-by-side

added added

removed removed

Lines of Context:
885
885
                if (iTake < 0 || iTake > iTakeCount)
886
886
                        iTake = iTakeCount;
887
887
                if (iTake > 0) {
888
 
                        iClipOffset += (iTakeEnd - iClipStart);
889
 
                        iClipOffset += (iTake - 1) * (iTakeLength - iTakeGap);
 
888
                        iClipOffset += (iTakeEnd - iClipStart) + iTakeGap;
 
889
                        iClipOffset += (iTake - 1) * iTakeLength;
890
890
                        if (iTake < iTakeCount)
891
891
                                iClipLength = iTakeEnd - iTakeStart;
892
892
                        else