]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam.cc
Attic: Add THANKS by version, up to v2.16
[lilypond.git] / lily / beam.cc
index 32bf7c3bd468618c13668fa2014dcd72d355d0f6..814d5def3cef4be9869b7af6894fffcd8fef4e97 100644 (file)
@@ -284,6 +284,18 @@ Beam::calc_direction (SCM smob)
             dir = to_dir (stem->get_property_data ("direction"));
           else
             dir = to_dir (stem->get_property ("default-direction"));
+
+          extract_grob_set (stem, "note-heads", heads);
+          /* default position of Kievan heads with beams is down
+             placing this here avoids warnings downstream */
+          if (heads.size())
+            {
+               if (heads[0]->get_property ("style") == ly_symbol2scm ("kievan"))
+                 {
+                    if (dir == CENTER)
+                      dir = DOWN;
+                 }
+            }
         }
     }