what do we want to do? We could template the function and support both selection; we could change the selection type, we could do nothing and prevent the user to use this if the type of selection…
Ah then you use
(point_i % 2 == unselect_ends)
instead.
Are we entirely sure that the first point is always 0? Because I see that index_range has a start_ init param
@mod_moder to me this seems more difficult to read than what I had originally written though...
mmm, this is not entirely right I think: the select ends params make us start or from first or from second point... So the selection is kind of "inverted" based on this params (I am basing this…
So right now it is coded as the old behavior, we just need to decide on description and if we want to use select_ends or deselect_ends :) I will make it as similar as the old version as possible,…
This description is not precise though, because we select the first point but the last point is selected only if we get there alternated (e.g. if we have two points we select only the first…
@filedescriptor In previous versions of blender select_alternate, select the points only for drawings that have some points selected. Do we want to keep this feature or we just do select alternate…
I reverted this change and will push now, but this was because the file is currently missing a new line at the end. Shouldn't there be one?
Hello, I am new to blender dev, and I was looking into this issue to start.
Before diving into the issue I wanted to highlight a couple of findings that might make the problem more difficult…