]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 3 Apr 2005 23:36:54 +0000 (23:36 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 3 Apr 2005 23:36:54 +0000 (23:36 +0000)
ChangeLog
Documentation/user/introduction.itely
lily/grob.cc

index 9ea527f4175c31f2b103bc6a2009b73235bed4ff..e3ed6c20d727b2e7a8d15182c4e005ce8180e37a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,7 +8,7 @@
 
        * Documentation/user/point-and-click.itely: document ly:set-option.
 
-       * lily/grob.cc (get_uncached_stencil): only ste grob-cause if
+       * lily/grob.cc (get_uncached_stencil): only set grob-cause if
        point_and_click_global is set.
 
        * lily/scm-option.cc (LY_DEFINE): add point-and-click
index fde3d73a66c8e732853086a67e2035a35ce60fd6..cdd3292b7435e458ce9d712a8d697fbad0c53aac 100644 (file)
@@ -113,11 +113,11 @@ spot which fragment is which?
 {
    \override Staff.NoteSpacing #'stem-spacing-correction = #0.6
    c'4 e''4 e'4 b'4 |
-   \stemDown b'4 e''4 a'4 e''4 | \bar "||"
+   \stemDown b'8[ e'' a' e''] | \bar "||"
    \override Staff.NoteSpacing #'stem-spacing-correction = #0.0
    \override Staff.StaffSpacing #'stem-spacing-correction = #0.0
    \stemNeutral c'4 e''4 e'4 b'4 |
-   \stemDown b'4 e''4 a'4 e''4 |
+   \stemDown b'8[ e'' a' e''] |
 }
 @end lilypond
 
index ed1c5dd752bbe097b3faf78aa6f5853d9a15fd82..6b17b356b793b701767d0559ea9dc41ae48a8fc6 100644 (file)
@@ -238,10 +238,13 @@ Grob::get_uncached_stencil () const
     {
       if (to_boolean (get_property ("transparent")))
        stil = Stencil (m->extent_box (), SCM_EOL).smobbed_copy ();
-      else if (point_and_click_global) 
+      else
        {
-         SCM expr = scm_list_3 (ly_symbol2scm ("grob-cause"), self_scm (),
-                                m->expr ());
+         
+         SCM expr = m->expr ();
+         if (point_and_click_global)
+           expr = scm_list_3 (ly_symbol2scm ("grob-cause"), self_scm (), expr);
+         
          stil = Stencil (m->extent_box (), expr).smobbed_copy ();
        }