]> git.donarmstrong.com Git - lilypond.git/commitdiff
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 22 Apr 2008 15:29:32 +0000 (12:29 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 22 Apr 2008 15:29:32 +0000 (12:29 -0300)
input/regression/stem-stemlet-whole.ly [new file with mode: 0644]
lily/stem.cc

diff --git a/input/regression/stem-stemlet-whole.ly b/input/regression/stem-stemlet-whole.ly
new file mode 100644 (file)
index 0000000..77c7080
--- /dev/null
@@ -0,0 +1,11 @@
+\version "2.11.43"
+\header {
+  texidoc = "Stemlets don't cause stems on whole notes."
+} 
+
+\paper{ ragged-right=##t }
+
+{
+  \override Stem #'stemlet-length = #0.5
+  c''1
+}
index a882e73a1ffc1a8076c1c74596cfea57e41ac99c..9d39552f574563dd1fa166ec38e86215a58c1acf 100644 (file)
@@ -702,6 +702,9 @@ Stem::print (SCM smob)
   if (!lh && stemlet && !beam)
     return SCM_EOL;
 
+  if (robust_scm2int (lh->get_property ("duration-log"), 0) < 1) 
+    return SCM_EOL;
+
   if (is_invisible (me))
     return SCM_EOL;