]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/semi-tie.cc
only prepend header if one patch was successful.
[lilypond.git] / lily / semi-tie.cc
index 854dd0302e2843ecbc5570b3bb3531f427b64d44..c5a514b53559662c532a5dae6cdf6d684e0d894e 100644 (file)
@@ -34,6 +34,8 @@ SCM
 Semi_tie::calc_control_points (SCM smob)
 {
   Grob *me = unsmob_grob (smob);
+  (void) me->get_property ("direction");
+  
   if (Semi_tie_column::has_interface (me->get_parent (Y_AXIS)))
     {
       me->get_parent (Y_AXIS)->get_property ("positioning-done");
@@ -47,24 +49,6 @@ Semi_tie::calc_control_points (SCM smob)
   return SCM_UNSPECIFIED;
 }
 
-MAKE_SCHEME_CALLBACK(Semi_tie, calc_direction, 1)
-SCM
-Semi_tie::calc_direction (SCM smob)
-{
-  Grob *me = unsmob_grob (smob);
-  if (Semi_tie_column::has_interface (me->get_parent (Y_AXIS)))
-    {
-      me->get_parent (Y_AXIS)->get_property("positioning-done");
-    }
-  else
-    {
-      programming_error ("lv tie without Semi_tie_column"); 
-      set_grob_direction (me, UP);
-    }
-
-  return SCM_UNSPECIFIED;
-}
-
 int
 Semi_tie::get_position (Grob *me)
 {