]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem-tremolo.cc
bfs
[lilypond.git] / lily / stem-tremolo.cc
index dc31df02702f3fa72fd7cdfea255e999f36c0c03..24f15420f0432d2c71e29ad3ceb91038f78fe6fc 100644 (file)
@@ -120,14 +120,13 @@ Stem_tremolo::brew_molecule (SCM smob)
   Interval mol_ext = mol.extent (Y_AXIS);
 
   // ugh, rather calc from Stem_tremolo_req
+  int beams_i = (beam) ? (Stem::beam_multiplicity (stem).length ()+ 1): 0;
 
   /*
     TODO.
    */
-  
-  assert(false);
 
-  int beams_i = 0;  
+
   Real beamthickness = 0.0;
   SCM sbt = (beam) ? beam->get_grob_property ("thickness") : SCM_EOL ;
   if (gh_number_p (sbt))