
2010/2/8 Krzysztof KosiĆski <tweenk.pl@...400...>:
2010/2/8 LucaDC <dicappello@...2144...>:
This can easily be achieved simply by converting all short segments to curves (only one drag-select and convert-button-click operation); now you can remove the unwanted nodes.
The problem is not what can be achieved, but whether it's consistent and logical for new users. Previously Del would sometimes fit a Bezier and sometimes not, and if it didn't there was no way to convince it otherwise. Now Del always fits a Bezier, and Ctrl+Del always places a linear segment.
I don't think this is the kind of consistency we're trying to achieve. A linear segment without handles is still a special case of Bezier, after all. Better don't think in terms of beziers/nonbeziers at all, and put it this way: Del produces an approximation (whatever that may be), and Ctrl+del does not.
And in case of three line-aligned nodes and Del-eting the middle one, I really think we must not extend any handles. It won't be inconsistency - simply in this case, a linear segment *is* the best approximation, so we do not do any special-casing here.
We can also add another checkbox: "invert fit behavior for linear segments", but I would like to avoid this if possible.
As I wrote, just make it "swap behavior of Del and Ctrl+Del" - easier to understand and describe in the docs.