SVG2Godot
SVG2Godot copied to clipboard
case insensitive string replacement
Hello!
Thank you so much for this contribution. It is really useful to me.
I might have come across a bug. In func process_svg_path()
you use the replacen() function.
This leads to all the letters being upper-case (Godot 4.0), and therefore the match statement cannot distinguish between relative and absolute positions.
A replace(), instead, solves this problem.
Kind regards,
Joel
Thanks Joel, I'll look into it.