]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/time-signature-engraver.cc
release: 1.0.12
[lilypond.git] / lily / time-signature-engraver.cc
index 75d803226ba608eaa17c7cbfc6e32ab371bc0b0d..b72d78460853e73712695352555af1c5a69c9ee2 100644 (file)
@@ -39,10 +39,12 @@ Time_signature_engraver::do_process_requests()
       args.push (req->beats_i_);
       args.push (req->one_beat_i_);
        
-      time_signature_p_ = new Time_signature (args);
+      time_signature_p_ = new Time_signature ();
+      time_signature_p_->args_ = args;
       time_signature_p_->break_priority_i_ = 1; // ugh
     }
 
+  
   if (time_signature_p_)
     announce_element (Score_element_info (time_signature_p_, req));
 }
@@ -52,6 +54,12 @@ Time_signature_engraver::do_pre_move_processing()
 {
   if (time_signature_p_) 
     {
+      Scalar sigstyle = get_property ("timeSignatureStyle");
+      if (sigstyle.length_i ())
+       {
+         time_signature_p_->time_sig_type_str_ = sigstyle;
+       }
+
       typeset_element (time_signature_p_);
       time_signature_p_ =0;
     }