]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
Fix #122.
[lilypond.git] / lily / stem.cc
index d333690491c6d98de4d1e85bb21688afb96728f8..6757582869960d15ecd600493113f6af459a225c 100644 (file)
@@ -222,6 +222,14 @@ Stem::is_invisible (Grob *me)
           && scm_to_int (me->get_property ("duration-log")) >= 1);
 }
 
+
+bool
+Stem::is_normal_stem (Grob *me)
+{
+  return head_count (me) && scm_to_int (me->get_property ("duration-log")) >= 1;
+}
+
+
 MAKE_SCHEME_CALLBACK (Stem, pure_height, 3)
 SCM
 Stem::pure_height (SCM smob, SCM start, SCM end)