Disable all 3D nodes, physics, and resources when compiling without 3D
This commit is contained in:
parent
810f127022
commit
6aac3e4a16
16 changed files with 68 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue