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 some build errors with disable_3d=yes #86874

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Jan 6, 2024

  • Some tests were incorrectly included
  • SCU builds with animation
  • Animation switch

I'm unsure if this is the best way with the scu, but it solves the issue, could also wrap the code in #ifndef but picked this way for right now, can switch if desired

I'm not sure why the linking fails with the SCU builds if the file is along with the others, so worth investigating separately

Edit: Swapped to the plain #ifndef version, felt more guaranteed

The issues with the SCU is link errors, which might be MSVC specific, haven't confirmed yet
Not MSVC specific, happens on mingw as well

@AThousandShips AThousandShips added bug topic:buildsystem cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Jan 6, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Jan 6, 2024
@AThousandShips AThousandShips requested review from a team as code owners January 6, 2024 13:21
Copy link
Member Author

Choose a reason for hiding this comment

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

This parts errors regardless, a switch with only a default

Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

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

See also #79185

scene/animation/animation_mixer.cpp Outdated Show resolved Hide resolved
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`
Copy link
Member

@aaronfranke aaronfranke left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@akien-mga akien-mga changed the title Fix some build errors with disable_3d=Yes Fix some build errors with disable_3d=yes Jan 8, 2024
@akien-mga akien-mga merged commit 6226388 into godotengine:master Jan 8, 2024
15 checks passed
@AThousandShips AThousandShips deleted the no_3d_fix branch January 8, 2024 11:15
@akien-mga
Copy link
Member

Thanks!

@AThousandShips
Copy link
Member Author

Thank you!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.2.

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants