diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-29 22:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 22:00:58 +0100 |
commit | e4265e86ceee1bf08bd92b85b51e969310a08bd6 (patch) | |
tree | d06770c1eed0c9923ac6da94c70af6d832f69fc4 /servers | |
parent | 2f57a11ed9b383706b72783c0d9b1e869774e08a (diff) | |
parent | 736ac253061cad240acf390c2aedf619ad7f3a32 (diff) |
Merge pull request #57409 from Calinou/physics-run-on-thread-rename
Rename the physics server `run_on_thread` project settings
Diffstat (limited to 'servers')
-rw-r--r-- | servers/register_server_types.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp index 3fbf4fe436..bf8b6379d2 100644 --- a/servers/register_server_types.cpp +++ b/servers/register_server_types.cpp @@ -80,7 +80,7 @@ ShaderTypes *shader_types = nullptr; PhysicsServer3D *_createGodotPhysics3DCallback() { - bool using_threads = GLOBAL_GET("physics/3d/run_on_thread"); + bool using_threads = GLOBAL_GET("physics/3d/run_on_separate_thread"); PhysicsServer3D *physics_server = memnew(GodotPhysicsServer3D(using_threads)); @@ -88,7 +88,7 @@ PhysicsServer3D *_createGodotPhysics3DCallback() { } PhysicsServer2D *_createGodotPhysics2DCallback() { - bool using_threads = GLOBAL_GET("physics/2d/run_on_thread"); + bool using_threads = GLOBAL_GET("physics/2d/run_on_separate_thread"); PhysicsServer2D *physics_server = memnew(GodotPhysicsServer2D(using_threads)); |