X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftie-details.cc;h=f810747b916b15e58cac2a12a6eb1b9859e3af3e;hb=a1c2a3a778efafbb8abbd44eb212a3f52f34c5f9;hp=7c39b1c717cf20bbca5c7fbf8f7b7e10dc32623a;hpb=00e3e15364b9d3c94cda1bcab9f889bb95f6832d;p=lilypond.git diff --git a/lily/tie-details.cc b/lily/tie-details.cc index 7c39b1c717..f810747b91 100644 --- a/lily/tie-details.cc +++ b/lily/tie-details.cc @@ -1,10 +1,21 @@ /* - tie-details.cc -- implement Tie_configuration, Tie_details + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2010 Han-Wen Nienhuys - (c) 2005--2007 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "tie.hh" @@ -28,7 +39,10 @@ Tie_details::from_grob (Grob *me) { staff_symbol_referencer_ = me; staff_space_ = Staff_symbol_referencer::staff_space (me); - + + neutral_direction_ = to_dir (me->get_property ("neutral-direction")); + if (!neutral_direction_) + neutral_direction_ = DOWN; SCM details = me->get_property ("details");