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

Fix mismatched strides when calling OCIO for transformc with derivs #1646

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Feb 17, 2023

We were getting an exception thrown on the OCIO side, because we were passing 0 for the y stride (which, us humans know, should have been fine since there was only one row, so the stride shouldn't have mattered). Now pass the right stride even though we don't need to step from row to row.

We were getting an exception thrown on the OCIO side, because we were
passing 0 for the y stride (which, us humans know, should have been fine
since there was only one row, so the stride shouldn't have mattered).
Now pass the right stride even though we don't need to step from row
to row.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz merged commit 23edc18 into AcademySoftwareFoundation:main Feb 20, 2023
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Feb 20, 2023
…cademySoftwareFoundation#1646)

We were getting an exception thrown on the OCIO side, because we were
passing 0 for the y stride (which, us humans know, should have been fine
since there was only one row, so the stride shouldn't have mattered).
Now pass the right stride even though we don't need to step from row
to row.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz lgritz deleted the lg-transformc branch February 24, 2023 19:07
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Mar 16, 2023
…cademySoftwareFoundation#1646)

We were getting an exception thrown on the OCIO side, because we were
passing 0 for the y stride (which, us humans know, should have been fine
since there was only one row, so the stride shouldn't have mattered).
Now pass the right stride even though we don't need to step from row
to row.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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

1 participant