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

MAYA-115091 Use cached textures #1941

Merged
merged 2 commits into from
Jan 3, 2022

Conversation

JGamache-autodesk
Copy link
Collaborator

@JGamache-autodesk JGamache-autodesk commented Dec 23, 2021

If 100 materials refer to the same image file, only load it once and ask the MTextureManager for cached copies for the 99 other materials.
Also fixes a crash if a GeomSubset faceId is greater than the number of faces on the mesh.

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Jan 3, 2022
@seando-adsk seando-adsk merged commit 563cb8f into dev Jan 3, 2022
@seando-adsk seando-adsk deleted the t_gamaj/MAYA-115091/reuse_cached_textures branch January 3, 2022 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge vp2renderdelegate Related to VP2RenderDelegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants