-Fix disable_3d flag

-Add extra flag optimize=[size,speed] to be able to prioritize size
This commit is contained in:
Juan Linietsky
2018-07-21 17:26:14 -03:00
parent cfcb6e11f2
commit 2b9902db06
12 changed files with 97 additions and 33 deletions

View File

@ -400,6 +400,8 @@ void PhysicsShapeQueryResult::_bind_methods() {
void PhysicsServer::_bind_methods() {
#ifndef _3D_DISABLED
ClassDB::bind_method(D_METHOD("shape_create", "type"), &PhysicsServer::shape_create);
ClassDB::bind_method(D_METHOD("shape_set_data", "shape", "data"), &PhysicsServer::shape_set_data);
@ -737,6 +739,8 @@ void PhysicsServer::_bind_methods() {
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_X);
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_Y);
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_Z);
#endif
}
PhysicsServer::PhysicsServer() {