Disable all 3D nodes, physics, and resources when compiling without 3D
This commit is contained in:
@ -31,6 +31,8 @@
|
||||
#ifndef PHYSICS_SERVER_3D_H
|
||||
#define PHYSICS_SERVER_3D_H
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
|
||||
#include "core/io/resource.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/gdvirtual.gen.inc"
|
||||
@ -1055,4 +1057,6 @@ VARIANT_ENUM_CAST(PhysicsServer3D::G6DOFJointAxisFlag);
|
||||
VARIANT_ENUM_CAST(PhysicsServer3D::AreaBodyStatus);
|
||||
VARIANT_ENUM_CAST(PhysicsServer3D::ProcessInfo);
|
||||
|
||||
#endif // _3D_DISABLED
|
||||
|
||||
#endif // PHYSICS_SERVER_3D_H
|
||||
|
||||
Reference in New Issue
Block a user