Closed GGAlanSmithee closed 1 month ago
Thanks for this, I really like the idea - I'm wondering if your previous option for turning turning rounding off and this could be rolled into one with a round_mode enum.
Something like:
enum RoundingMode { Auto, Ignore_Edges, Off }
var rounding_mode := RoundingMode.Auto
the enum
solution is much better - I will update the PR.
I made the requested change. I used a "local enum" (not too familiar with GDScript enums) which makes them quite verbose (PathOptions.RoundingMode.Ignore_Edges
), let me know if you prefer a global enum instead @daleblackwood
copied from #19, rebased
fixes #18 by adding the option to either round edges, or not.
see #18 for context, and the video below for results.
_IMO having
set_edges=false
as a default makes more sense (at least for*WallShaper
s) but that would be a breaking change, so I set the default totrue
._https://github.com/user-attachments/assets/1b4e21ec-3cdf-4d47-8176-e5baeb5e4660