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

NRRDLoader: Ensure that headerObject.vectors is an array of array. #22987

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

sonisourabh
Copy link
Contributor

Correct the coding error.

Description

NRRD loader fails for the files which does not contains vectors in the header. It was due to the coding error which Vector3 was mixed with the array. The NRRDLoader and Volume expects this to be an array however, it was initialized by Vector3 in some cases.

@Mugen87 Mugen87 changed the title Ensure that headerObject.vectors is an array of array NRRDLoader: Ensure that headerObject.vectors is an array of array. Dec 9, 2021
@Mugen87 Mugen87 added this to the r136 milestone Dec 11, 2021
@Mugen87 Mugen87 merged commit a15fbe0 into mrdoob:dev Dec 17, 2021
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