You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it has to be. If I recall correctly, I looked up how Godot handled the post-import scripts and it just created a node, attached the script, and ran it, so that's what I did. If there's a better way, feel free to do a PR. :)
In BSPReader, the post-import script is assumed to be a
Node
:https://github.com/Yagich/godot_bsp_importer/blob/main/addons/bsp_importer/bsp_reader.gd#L696-L700
I'm just curious why this is desired. It can be a
RefCounted
, which is how it's done with post-import scripts in the advanced importer: https://docs.godotengine.org/en/stable/classes/class_editorscenepostimport.htmlThe text was updated successfully, but these errors were encountered: