Re: Tweak Slur direction "neutral",Re: Tweak Slur direction "neutral",Re: Tweak Slur direction "neutral",Re: Tweak Slur direction "neutral"

2023-01-30 Thread Werner LEMBERG
>> But the user shouldn't see an assertion error even in case of a wrong >> argument, right? > > Yeah, > https://gitlab.com/lilypond/lilypond/-/merge_requests/1828 Thanks! Werner

Re: Tweak Slur direction "neutral", Re: Tweak Slur direction "neutral"

2023-01-30 Thread Jean Abou Samra
On 30/01/2023 08:19, Werner LEMBERG wrote: > >>> When I attempt to change the "direction" property of a slur, >>> whether that is with \tweak or \override, I cannot set the >>> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when >>> setting to 0, I get the following error:  >>> >>>

Re: Tweak Slur direction "neutral", Re: Tweak Slur direction "neutral"

2023-01-30 Thread Valentin Petzel
It think the problem here is not that the error happens, but that the error message is absolutely unusable for a user. If the error message was somthing like "direction must not be 0" it would be much clearer for the user. Still maybe this should be handled before passing this to the drul

Re: Tweak Slur direction "neutral",Re: Tweak Slur direction "neutral"

2023-01-29 Thread Werner LEMBERG
>> When I attempt to change the "direction" property of a slur, >> whether that is with \tweak or \override, I cannot set the >> direction to neutral (0). UP (1) and DOWN (-1) work fine, but when >> setting to 0, I get the following error:  >> >> "Assertion failed: d, file >>