1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Fix OpenXR build failure when GLTF module is disabled

Wrap OpenXR render model classes with MODULE_GLTF_ENABLED guards since
they depend on the GLTF module. Include modules_enabled.gen.h
unconditionally to ensure proper module detection across all build
configurations.
This commit is contained in:
Mrfanta-stick
2025-12-12 18:01:54 +05:30
committed by A Thousand Ships
parent dec5a373d9
commit 70727f46fd
8 changed files with 34 additions and 0 deletions

View File

@@ -176,7 +176,9 @@
#include "tests/scene/test_convert_transform_modifier_3d.h"
#include "tests/scene/test_copy_transform_modifier_3d.h"
#include "tests/scene/test_decal.h"
#ifdef MODULE_GLTF_ENABLED
#include "tests/scene/test_gltf_document.h"
#endif
#include "tests/scene/test_path_3d.h"
#include "tests/scene/test_path_follow_3d.h"
#include "tests/scene/test_primitives.h"