On 1/11/10 17:47, Krzysztof Kosiński wrote:
W dniu 1 listopada 2010 04:50 użytkownik ~suv <suv-sf@...58...> napisał:
On 31/10/10 19:40, Krzysztof Kosiński wrote: ° The feature to retract the handles of all selected nodes was useful imho e.g. to quickly reset a curved path or to turn a selection of non-adjacent nodes into sharp corners. There is no real alternative for it: changing the segment type requires and thus affects at least two adjacent nodes, 'Ctrl-clicking' the handles for each node manually to retract it can be impracticable if the change is needed for a bigger selection of nodes in a complex path. But even to make two non-adjacent cusp nodes sharp, it now requires at least 4 (Ctrl+)clicks, possibly more if one needs to zoom in on each node or make the handles visible first.
As a compromise, I can reintroduce that, but the handles will only be retracted when all selected nodes are cusp. The reason for removing it was that if you selected a cusp node and a smooth node and clicked the cusp node button, the smooth node would be turned to cusp, while the cusp node would have its handles retracted. This is rather annoying and you can destroy your path accidentally.
I don't understand yet how this would work in practice:
If handles will only be retracted when all selected nodes are cusp, does it still allow to convert a selection of mostly smooth nodes to cusp nodes?
If yes, then after using the command once, all nodes are cusp now (though some still have colinear handles), and another 'Shift+C' would retract all handles -> same as previous behavior.
If no, it means that you actually disallow converting smooth nodes into cusp nodes as soon as there is at least one cusp node among the selected. This however doesn't make converting node types easier because in this case the user has to find and deselct each and every cusp node within the selection first (possibly not an easy task if e.g. a cusp and a smooth node coincide or are very close).
Why do you want to change the behavior of the previous two releases? I could find no bug report asking for such a change or complaining about the previous behavior of 'Shift+C':
'Shift+C' converted a smooth node into a cusp node (keeping the handles and appearance unchanged), and retracted handles of cusp nodes (if present). If applied twice to the same selection (be it smooth, cusp or a mix of nodes), in effect all handles were retracted. If a smooth or half-smooth node needed to stay (half-)smooth, it could still be changed back to smooth after the first command without loss because its handles stayed unchanged.
~suv