YuriSizov / godot-editor-theme-explorer

Godot Editor plugin to browse various items of Editor Theme, such as icons, colors and fonts.
MIT License
131 stars 9 forks source link

Fix crash with 3.2.2, correct type casting #1

Closed 2shady4u closed 4 years ago

2shady4u commented 4 years ago

Now that Godot has been updated to 3.2.2, incorrect type casting sets the value to NULL as a result. This results in the plugin spewing following errors into the console:

error_editor_theme

I fixed the incorrect type casting (only two were incorrect) and now everything works nicely again.

YuriSizov commented 4 years ago

Nice!

The irony of using types to help catch errors and then getting errors because it didn't actually work before 🙂