Allow to compile templates without physics servers

This commit is contained in:
Michael Alexsander 2025-02-27 19:01:23 -03:00
parent b13c96b097
commit 5ad414d046
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
72 changed files with 951 additions and 364 deletions

View file

@ -63,7 +63,14 @@
#include "scene/theme/theme_db.h"
#include "servers/display_server.h"
#include "servers/navigation_server_3d.h"
#ifndef PHYSICS_3D_DISABLED
#include "servers/physics_server_3d.h"
#endif // PHYSICS_3D_DISABLED
#ifndef PHYSICS_2D_DISABLED
#include "servers/physics_server_2d.h"
#endif // PHYSICS_2D_DISABLED
constexpr int GODOT4_CONFIG_VERSION = 5;