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 #89760

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

AThousandShips
Copy link
Member

@AThousandShips AThousandShips commented Mar 21, 2024

Some new issues with 3D disabled popped up after recent changes, it now once again works correctly (and tests run properly)

These are all test related and won't be caught by the CI, as it doesn't build minimal debug builds, and 3D can't be disabled in the editor

@@ -124,6 +123,7 @@
#include "tests/test_validate_testing.h"

#ifndef _3D_DISABLED
#include "tests/scene/test_arraymesh.h"
Copy link
Member Author

Choose a reason for hiding this comment

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

The tests for ArrayMesh all depends on 3D specific code, like the primitive meshes, so there's no use testing it at all without 3D enabled

@akien-mga akien-mga merged commit 3cbded7 into godotengine:master Apr 17, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@AThousandShips AThousandShips deleted the no_3d_fix_3 branch April 17, 2024 09:02
@AThousandShips
Copy link
Member Author

Thank you!

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