Commit graph

10 commits

Author SHA1 Message Date
ws
cdfe487369 update mtest 2014-08-26 14:25:26 +02:00
lasconic
d841430587 update guitar pro test files 2014-08-18 20:52:41 +02:00
John Pirie
005d4f032d Added missing text and set 127 upper limit on reverb/volume etc. info 2014-08-15 16:22:34 +01:00
ws
7dc9aed512 rework initial clef, staff type change
- initial clef is now determined by instrument
- extend instrument to allow different clefs for stave (piano)
- do not write first generated clef
2014-08-14 14:34:45 +02:00
ws
f97a8b22c6 cleaner clef/cleflist implementation 2014-07-25 17:13:42 +02:00
ws
395bfd412c update mtest 2014-07-24 15:03:16 +02:00
ws
25f25dd183 link note attached elements for parts 2014-07-10 18:59:44 +02:00
Maurizio M. Gavioli
ab57d57c34 Fix Guitar Pro tests 2014-05-30 19:06:02 +02:00
Maurizio M. Gavioli
93e31dc04c Fix #18869 : restore original clef on ChangeStaffType undo
When a staff type change is undone, the previous staff clef is not restored, if it has been changed to suit the new staff type.

Fixed by storing the original initial clef and restoring it on undo. Should fix the following issues: #18869, #23374, #24294 and, possibly others too.

- Added to ChangeStaffType class an initialClef member variable to hold the original staff initial clef type list.
- ChangeStaffType::flip() split into undo() and redo(), as the managing the clef and setting the staff type must be applied in reversed order in the two cases.
- Clef::layout() now hides a clef not compatible with the staff group, if the clef is not generated or changes it to the same clef as the staff initial clef if generated
- TAB ad-hoc code in Clef::layout() to check for compatibility between the clef type and the staff group generalized to all groups removed.
- Fixed GuitarPro test reference scores, which all contained wrong clefs for the TAB staves.

Tested with a few 2.0 and 1.3 scores; more tests are probably necessary.
2014-05-27 01:47:30 +02:00
John Pirie
eedf18b403 Tests for bends 2014-05-20 14:03:57 +01:00