there are certain cases where godot 3.x will import resources and record the source as an absolute path rather than a relative path. In that case, if the source path is in the project tree, rewrite the import metadata.
This also refactors export path rewriting to occur during export_imports() only instead of in import_info and preserves the original source file location in the info
there are certain cases where godot 3.x will import resources and record the source as an absolute path rather than a relative path. In that case, if the source path is in the project tree, rewrite the import metadata.
This also refactors export path rewriting to occur during
export_imports()
only instead of in import_info and preserves the original source file location in the info