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

Armpack macro compatibility #136

Merged
merged 2 commits into from Sep 20, 2021

Conversation

tong
Copy link
Contributor

@tong tong commented Sep 10, 2021

This change allows to use iron.system.Armpack.decode in macro context which can be used for all sorts of build time action, as it gives access to all exported data at compile time.

Example usage: https://github.com/tong/armory_examples/tree/macro_armpack-example/macro_armpack
… This just auto creates MeshObject fields in the Game trait class for all meshes in scene.

It would be nice to also have Armpack.encode (for modifying exported data at compile time) but there are some unresolved issues.

@luboslenco luboslenco merged commit 54500d7 into armory3d:master Sep 20, 2021
@tong tong deleted the armpack-decode-macro-compat branch September 20, 2021 12:43
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.

None yet

2 participants