1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Disable all 3D nodes, physics, and resources when compiling without 3D

This commit is contained in:
Aaron Franke
2024-02-26 06:34:53 -06:00
parent 810f127022
commit 6aac3e4a16
16 changed files with 68 additions and 19 deletions

View File

@@ -28,6 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef _3D_DISABLED
#include "physics_server_3d.h"
#include "core/config/project_settings.h"
@@ -1213,3 +1215,5 @@ PhysicsServer3DManager::PhysicsServer3DManager() {
PhysicsServer3DManager::~PhysicsServer3DManager() {
singleton = nullptr;
}
#endif // _3D_DISABLED