You've already forked godot
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user