]> 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 6dce40a464ba7b385f0149dd254debd7de9b6ecd..bbe15845a61a77379c070b6839637d69c4c1a507 100644 (file)
@@ -175,18 +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 (_ ("Lyric syllable does not have note."
-                                 "  Use \\lyricsto or associatedVoice."));
-              text_->set_property ("X-offset", scm_from_int (0));
-            }
         }
 
       last_text_ = text_;