DescriptionImprove beam count handling with subdivided beams
Subdivision beam count was improved in issue 4355, commit 8fa2d858,
but partially reverted in commit 0382ed88.
- Before 4355 there was always one beam at the subdivision
- After 4355 the beam count reflected the metric value of
the subdivision's location
- After commit 8fa2d858 the beam count matched baseMoment
The behaviour after 4355 is correct as it gives an immediate
feedback on the metric situation, and is suggested by Gould.
The later revert was to avoid a side-effect, namely the inconsistency
with shortened beams: If the remaining length of the beam is less
than the length of the current metric group the result was
confusing.
This patch reverts the effect of the latest commit, reinstating
the behaviour of issue 4355. However, it improves handling to
remove the unwanted side-effect:
- when the remaining length of the beam is shorter than the
next group (e.g. subdivision at an 1/8 point, but only 3/32
left) the beam count matches the length of the remainder:
1/16 <= remainder < 1/8 => 2 beams
1/32 <= remainder < 1/16 => 3 beams
etc.
- but if only one stem is left after the subdivision this is not
applied. The subdivision has the regular number matching the
metric value, and the trailing single stem has beamlets according
to its actual length
Patch Set 1 #
Total comments: 5
Patch Set 2 : Respond to review comments #
Total comments: 2
Patch Set 3 : Revert changes to snippets file #Patch Set 4 : Simplify code by cleaning up "old" code #Patch Set 5 : Add commit with updated doc snippet #
MessagesTotal messages: 11
|