You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Allow to compile templates without physics servers
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user