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

Removing FmodEditorExportPluginProxy class #238

Closed

Conversation

ZachRadical
Copy link

FmodEditorExportPluginProxy was a workaround for a bug that existed in a previous version of Godot. That bug is now fixed, so there is no further need to have this class that inherits from the base FmodEditorExportPlugin.

This change simply deletes the file containing the inherited Proxy object, and replaces it's initial instantiation in FmodPlugin.gd with the base class.

I also removed it from the global_script_class_cash.cfg; I don't know if Godot checks items in the global script class cache to see if they still exist, but if not, this should cover it.

Picture below illustrates recognition of FmodEditorExportPlugin when assigned as export_plugin, where before it would be colored like the definition of dummy_plugin, which is unrecognized due to a purposeful typo to show the difference.
image
Tested a default scene with nothing going on in it other than a Node3D with an Emitter and Listener child, and no errors occur.

@ZachRadical ZachRadical deleted the remove-plugin-proxy branch August 11, 2024 18:45
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

Successfully merging this pull request may close these issues.

1 participant