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 Build Without ArmaturePopulate Post Process Step #4880

Conversation

krishty
Copy link
Contributor

@krishty krishty commented Jan 16, 2023

This post process step introduced new attributes into aiSkeletonBone. Said attributes are only defined with the process enabled, i.e. when the ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS macro has not been defined.

Some code, however, accessed the variables unconditionally, leading to build failures if ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS was defined.

This commit adds the missing checks.

This post process step introduced new attributes into `aiSkeletonBone`. Said attributes are only defined with the process enabled, i.e. when the `ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS` macro has not been defined.

Some code, however, accessed the variables unconditionally, leading to build failures if `ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS` was defined.

This commit adds the missing checks.
Copy link
Member

@kimkulling kimkulling left a comment

Choose a reason for hiding this comment

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

Looks fine.

@krishty
Copy link
Contributor Author

krishty commented Jan 20, 2023

For clarity: The CI failure is not due to my changes, but due to the lukka/get-cmake action timing out after 6 hours. Github’s log doesn’t show me an error message. @kimkulling please investigate!

@kimkulling kimkulling merged commit d2d8b84 into assimp:master Jan 31, 2023
@kimkulling
Copy link
Member

Merged, github actions seems to be a little bit unstable.

@krishty krishty deleted the fix-build-without-armaturepopulate-post-process branch January 31, 2023 10:20
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

2 participants