mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Allow to compile templates without physics servers
This commit is contained in:
parent
b13c96b097
commit
5ad414d046
72 changed files with 951 additions and 364 deletions
|
|
@ -1548,8 +1548,13 @@ ProjectSettings::ProjectSettings() {
|
|||
#else
|
||||
custom_prop_info["rendering/driver/threads/thread_model"] = PropertyInfo(Variant::INT, "rendering/driver/threads/thread_model", PROPERTY_HINT_ENUM, "Unsafe (deprecated),Safe,Separate");
|
||||
#endif
|
||||
|
||||
#ifndef PHYSICS_2D_DISABLED
|
||||
GLOBAL_DEF("physics/2d/run_on_separate_thread", false);
|
||||
#endif // PHYSICS_2D_DISABLED
|
||||
#ifndef PHYSICS_3D_DISABLED
|
||||
GLOBAL_DEF("physics/3d/run_on_separate_thread", false);
|
||||
#endif // PHYSICS_3D_DISABLED
|
||||
|
||||
GLOBAL_DEF_BASIC(PropertyInfo(Variant::STRING, "display/window/stretch/mode", PROPERTY_HINT_ENUM, "disabled,canvas_items,viewport"), "disabled");
|
||||
GLOBAL_DEF_BASIC(PropertyInfo(Variant::STRING, "display/window/stretch/aspect", PROPERTY_HINT_ENUM, "ignore,keep,keep_width,keep_height,expand"), "keep");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue