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

Remove unused code that substantially slowed down texture export #2457

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

MoritzBrueckner
Copy link
Collaborator

There was some leftover code in the texture export that, according to a comment, led to Blender loading the textures into memory even though its no longer used. After removing the code, I got from 2.6s to 0.2s overall spent in make_texture() in a file with 15 textures on my machine.

@luboslenco luboslenco merged commit d9b3056 into armory3d:master Mar 14, 2022
@luboslenco
Copy link
Member

Awesome!

@MoritzBrueckner MoritzBrueckner deleted the faster-texture-export branch March 14, 2022 13:02
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.

2 participants