]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.65
authorfred <fred>
Tue, 26 Mar 2002 22:15:12 +0000 (22:15 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:15:12 +0000 (22:15 +0000)
input/test/force-hshift.fly [new file with mode: 0644]
lily/collision-engraver.cc

diff --git a/input/test/force-hshift.fly b/input/test/force-hshift.fly
new file mode 100644 (file)
index 0000000..9bdee7d
--- /dev/null
@@ -0,0 +1,15 @@
+
+\context Staff <
+       \context Voice = VA {
+               \property Voice.forceHorizontalShift = "0.1"
+               \stemup \shifton
+               <g' d'>
+       }       
+
+       \context Voice = VB {
+               \stemdown
+               \shifton
+               \property Voice.forceHorizontalShift = "-0.1"
+               <bes f'>
+       }
+>
index c895dac10df96e50f7115c35883209c4dc0e65cf..e9989408b3759171a0484d804491e2e15eeaeafe 100644 (file)
@@ -30,8 +30,8 @@ Collision_engraver::acknowledge_element (Score_element_info i)
 {
   if (Note_column * c = dynamic_cast<Note_column *> (i.elem_l_))
     {
-      if (c->rest_b () || c->dim_cache_[X_AXIS]->parent_l_
-         || c->dim_cache_[X_AXIS]->parent_l_)
+      /*should check Y axis? */
+      if (c->rest_b () || c->dim_cache_[X_AXIS]->parent_l_)
        return ;
 
       note_column_l_arr_.push (c);