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

Use the quaternion type directly rather than interpreting the values of a vec4. #1910

Merged

Conversation

williamkrick
Copy link
Contributor

No description provided.

@@ -178,10 +178,10 @@ VtMatrix4dArray HdVP2Instancer::ComputeInstanceTransforms(SdfPath const& prototy
if (_primvarMap.count(_tokens->rotate) > 0) {
HdVP2BufferSampler sampler(*_primvarMap[_tokens->rotate]);
for (size_t i = 0; i < instanceIndices.size(); ++i) {
GfVec4h quath;
GfQuath quath;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could guard the two different branches here using a PXR_VERSION preprocessor macro, but the code as is will work correctly in 21.11 and older versions.

@williamkrick williamkrick added the ready-for-merge Development process is finished, PR is ready for merge label Dec 14, 2021
@seando-adsk seando-adsk merged commit 0558d61 into dev Dec 14, 2021
@seando-adsk seando-adsk deleted the krickw/MAYA-120718/handle_quaternion_value_order_change branch December 14, 2021 18:27
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.

None yet

3 participants