]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-engraver.cc
Remove warning when there are no noteheads to attach lyrics to.
[lilypond.git] / lily / lyric-engraver.cc
index 3ea4498baf1381ef764749dba93964e6b7a93bb8..bbe15845a61a77379c070b6839637d69c4c1a507 100644 (file)
@@ -175,16 +175,12 @@ Lyric_engraver::stop_translation_timestep ()
 
           if (head)
             {
-              text_->set_parent (head, X_AXIS);
+              text_->set_parent (head->get_parent(X_AXIS), X_AXIS);
               if (melisma_busy (voice)
                   && !to_boolean (get_property ("ignoreMelismata")))
                 text_->set_property ("self-alignment-X",
                                      get_property ("lyricMelismaAlignment"));
             }
-          else
-            text_->warning (_ ("Aligning lyric syllables to notes was requested,"
-                               " but there are no notes in the specified context."
-                               " Syllable will be attached to a PaperColumn instead."));
         }
 
       last_text_ = text_;