OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2000--2020 Jan Nieuwenhuizen <janneke@gnu.org> | 4 Copyright (C) 2000--2020 Jan Nieuwenhuizen <janneke@gnu.org> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 last_staff_ = 0; | 61 last_staff_ = 0; |
62 } | 62 } |
63 | 63 |
64 void | 64 void |
65 Note_head_line_engraver::acknowledge_rhythmic_head (Grob_info info) | 65 Note_head_line_engraver::acknowledge_rhythmic_head (Grob_info info) |
66 { | 66 { |
67 head_ = info.grob (); | 67 head_ = info.grob (); |
68 Context *tr = find_context_above (context (), ly_symbol2scm ("Staff")); | 68 Context *tr = find_context_above (context (), ly_symbol2scm ("Staff")); |
69 if (tr | 69 if (tr |
70 && tr != last_staff_ | 70 && tr != last_staff_ |
71 && to_boolean (get_property ("followVoice"))) | 71 && to_boolean (get_property (this, "followVoice"))) |
72 { | 72 { |
73 if (last_head_) | 73 if (last_head_) |
74 follow_ = true; | 74 follow_ = true; |
75 } | 75 } |
76 last_staff_ = tr; | 76 last_staff_ = tr; |
77 } | 77 } |
78 | 78 |
79 void | 79 void |
80 Note_head_line_engraver::process_acknowledged () | 80 Note_head_line_engraver::process_acknowledged () |
81 { | 81 { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 /* create */ | 121 /* create */ |
122 "VoiceFollower ", | 122 "VoiceFollower ", |
123 | 123 |
124 /* read */ | 124 /* read */ |
125 "followVoice ", | 125 "followVoice ", |
126 | 126 |
127 /* write */ | 127 /* write */ |
128 "" | 128 "" |
129 ); | 129 ); |
OLD | NEW |