X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fnote-performer.cc;h=d63b433a4fe7b0fdf8cccbd2c328104f5caf042c;hb=refs%2Ftags%2Frelease%2F1.1.1;hp=5f8923c284e48a70f38547b1aa1d1f0942c6b0c3;hpb=4a8e84ba5dc1f8b71fda44b848b601349a80403a;p=lilypond.git diff --git a/lily/note-performer.cc b/lily/note-performer.cc index 5f8923c284..d63b433a4f 100644 --- a/lily/note-performer.cc +++ b/lily/note-performer.cc @@ -24,27 +24,26 @@ Note_performer::do_print () const { #ifndef NPRINT if (note_req_l_) - note_req_l_->print (); + note_req_l_->print (); #endif } void Note_performer::do_process_requests () { - // this is _really_ braindead, but it generates some output - if (!note_req_l_ || !dynamic_cast (note_req_l_) || !dynamic_cast (note_req_l_)) - return; - - int transposing_i = 0; - //urg - Scalar prop = get_property ("transposing"); - if (!prop.empty_b () && prop.isnum_b ()) - transposing_i = prop; + if (note_req_l_) + { + int transposing_i = 0; + //urg + Scalar prop = get_property ("transposing"); + if (!prop.empty_b () && prop.isnum_b ()) + transposing_i = prop; - play (new Audio_note (note_req_l_, transposing_i)); + play (new Audio_note (note_req_l_, transposing_i)); - note_req_l_ = 0; + note_req_l_ = 0; + } } bool