LEFT | RIGHT |
(no file at all) | |
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) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> |
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 if (Rhythmic_head::get_stem (gi.grob ())) | 124 if (Rhythmic_head::get_stem (gi.grob ())) |
125 return; | 125 return; |
126 | 126 |
127 Stream_event *cause = gi.event_cause (); | 127 Stream_event *cause = gi.event_cause (); |
128 if (!cause) | 128 if (!cause) |
129 return; | 129 return; |
130 Duration *d = unsmob_duration (cause->get_property ("duration")); | 130 Duration *d = unsmob_duration (cause->get_property ("duration")); |
131 if (!d) | 131 if (!d) |
132 return; | 132 return; |
133 | 133 |
| 134 if (gi.grob ()->get_property ("stem-attachment") == SCM_BOOL_F) |
| 135 return; |
| 136 |
134 if (!stem_) | 137 if (!stem_) |
135 make_stem (gi); | 138 make_stem (gi); |
136 | 139 |
137 int ds = Stem::duration_log (stem_); | 140 int ds = Stem::duration_log (stem_); |
138 | 141 |
139 if (ds != d->duration_log ()) | 142 if (ds != d->duration_log ()) |
140 { | 143 { |
141 gi.event_cause ()->origin ()->warning (_f ("adding note head to incompatib
le stem (type = %d/%d)", | 144 gi.event_cause ()->origin ()->warning (_f ("adding note head to incompatib
le stem (type = %d/%d)", |
142 ds < 0 ? 1 << -ds : 1, | 145 ds < 0 ? 1 << -ds : 1, |
143 ds > 0 ? 1 << ds : 1)); | 146 ds > 0 ? 1 << ds : 1)); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "StemTremolo ", | 193 "StemTremolo ", |
191 | 194 |
192 /* read */ | 195 /* read */ |
193 "tremoloFlags " | 196 "tremoloFlags " |
194 "stemLeftBeamCount " | 197 "stemLeftBeamCount " |
195 "stemRightBeamCount ", | 198 "stemRightBeamCount ", |
196 | 199 |
197 /* write */ | 200 /* write */ |
198 "" | 201 "" |
199 ); | 202 ); |
LEFT | RIGHT |