diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-08 11:06:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 11:06:35 +0200 |
commit | a994db62df731879bb9c54e65b4ddca32396e9d3 (patch) | |
tree | c9451f10a4b29e14fc14c210faf7fe4ffa932f18 /core | |
parent | b60754ab405d6a332c33f12f9df9399f70ee7164 (diff) | |
parent | 650b698f5174e9c4e29781f551af560a55a1e87a (diff) |
Merge pull request #27644 from lupoDharkael/bus
Allow default audio bus layout modification
Diffstat (limited to 'core')
-rw-r--r-- | core/project_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp index 8c9a3dbcd4..5752cdca2b 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -1004,6 +1004,8 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF("application/config/use_custom_user_dir", false); GLOBAL_DEF("application/config/custom_user_dir_name", ""); GLOBAL_DEF("application/config/project_settings_override", ""); + GLOBAL_DEF("audio/default_bus_layout", "res://default_bus_layout.tres"); + custom_prop_info["audio/default_bus_layout"] = PropertyInfo(Variant::STRING, "audio/default_bus_layout", PROPERTY_HINT_FILE, "*.tres"); action = Dictionary(); action["deadzone"] = Variant(0.5f); |