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 /core | |
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 'core')
-rw-r--r-- | core/config/project_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index 45776c03e4..b5f1015ff5 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1235,8 +1235,8 @@ ProjectSettings::ProjectSettings() { // Keep the enum values in sync with the `DisplayServer::VSyncMode` enum. custom_prop_info["display/window/vsync/vsync_mode"] = PropertyInfo(Variant::INT, "display/window/vsync/vsync_mode", PROPERTY_HINT_ENUM, "Disabled,Enabled,Adaptive,Mailbox"); custom_prop_info["rendering/driver/threads/thread_model"] = PropertyInfo(Variant::INT, "rendering/driver/threads/thread_model", PROPERTY_HINT_ENUM, "Single-Unsafe,Single-Safe,Multi-Threaded"); - GLOBAL_DEF("physics/2d/run_on_thread", false); - GLOBAL_DEF("physics/3d/run_on_thread", false); + GLOBAL_DEF("physics/2d/run_on_separate_thread", false); + GLOBAL_DEF("physics/3d/run_on_separate_thread", false); GLOBAL_DEF("debug/settings/profiler/max_functions", 16384); custom_prop_info["debug/settings/profiler/max_functions"] = PropertyInfo(Variant::INT, "debug/settings/profiler/max_functions", PROPERTY_HINT_RANGE, "128,65535,1"); |