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: speedup renderable camera collection #1053

Merged
merged 2 commits into from Feb 24, 2021

Conversation

antirotor
Copy link
Member

Problem

when collecting renderable cameras we queried every renderable attribute for every camera by switching to render layer and out of it for every query. With many cameras in scene, this becomes unusable as it was slow and took even hours just to collect this.

This is using code from @BigRoy to achieve this. We should adapt it on other places where attributes are queried by switching layers.

@antirotor antirotor requested a review from a team February 24, 2021 10:54
@antirotor antirotor self-assigned this Feb 24, 2021
antirotor added a commit that referenced this pull request Feb 24, 2021
@mkolar mkolar added this to the 2.15.3 milestone Feb 24, 2021
@mkolar mkolar merged commit a9c7663 into 2.x/develop Feb 24, 2021
mkolar added a commit that referenced this pull request Feb 24, 2021
@mkolar mkolar deleted the 2.x/maya-speedup-camera-collection branch March 12, 2021 16:04
@mkolar mkolar added the type: enhancement Enhancements to existing functionality label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host: Maya type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants