Always register the Smooth Trimesh Collision project setting
This ensures the project setting never disappears from the editor, even if the current physics engine is GodotPhysics. This also adds documentation for the Smooth Trimesh Collision project setting.
This commit is contained in:
parent
62765fb7ca
commit
4219485a82
3 changed files with 8 additions and 1 deletions
|
|
@ -1240,6 +1240,9 @@ ProjectSettings::ProjectSettings() {
|
|||
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_separate_thread", false);
|
||||
GLOBAL_DEF("physics/3d/run_on_separate_thread", false);
|
||||
// Required to make the project setting appear even if the physics engine is GodotPhysics,
|
||||
// while also making it appear in the ProjectSettings class documentation.
|
||||
GLOBAL_DEF("physics/3d/smooth_trimesh_collision", 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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue