Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case insensitive string replacement #4

Open
jor-el-swe opened this issue Aug 16, 2022 · 1 comment
Open

case insensitive string replacement #4

jor-el-swe opened this issue Aug 16, 2022 · 1 comment

Comments

@jor-el-swe
Copy link

jor-el-swe commented Aug 16, 2022

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

@pixelriot
Copy link
Owner

Thanks Joel, I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants