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(C3DTFeature): use correct interleaved buffer getter #2326

Merged

Conversation

AnthonyGlt
Copy link
Contributor

@AnthonyGlt AnthonyGlt commented May 3, 2024

Description

We should use the getter of threejs to access position in buffer, especially when we have interleaved buffer

Motivation and Context

Similar to what was done in #2266

To note:
I encountered issues related to the batchtable, I wonder if there is some misconception in the treatment of it. I will try to investigate more

@AnthonyGlt AnthonyGlt marked this pull request as ready for review May 23, 2024 08:10
@AnthonyGlt AnthonyGlt requested a review from Desplandis May 23, 2024 08:10
@AnthonyGlt
Copy link
Contributor Author

@Desplandis I assign it to you but maybe someone else could be more fitted to this MR.
To whoever review this MR, could you please test it, because I could be the one making a misconception here, thank you :)

@AnthonyGlt AnthonyGlt force-pushed the fix/use-correct-getter-interleaved-buffer branch from 3397800 to 80ad0a1 Compare July 4, 2024 12:46
Copy link
Contributor

@Desplandis Desplandis left a comment

Choose a reason for hiding this comment

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

LGTM. I did not find other occurences of using directly the position attribute.

@AnthonyGlt AnthonyGlt merged commit 6e20fcb into iTowns:master Jul 8, 2024
9 checks passed
@jailln jailln mentioned this pull request Aug 8, 2024
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