summaryrefslogtreecommitdiff
path: root/servers/audio
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-23 10:47:11 +0100
committerGitHub <noreply@github.com>2018-03-23 10:47:11 +0100
commitc537107af9b27f328b25a631149a19f937d301f6 (patch)
treec3e6fe108d8633af96322afa4658b6f3d485bc8a /servers/audio
parent5f0ea4ddcfb8de5d0f1c3080a36d6291c26086ce (diff)
parent7792dfe5546d862dc3b97b7c71dc245b35801446 (diff)
Merge pull request #17680 from beniwtv/master
Fix compressor audio effect sidechain selection
Diffstat (limited to 'servers/audio')
-rw-r--r--servers/audio/effects/audio_effect_compressor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/effects/audio_effect_compressor.cpp b/servers/audio/effects/audio_effect_compressor.cpp
index 0252b2f341..8c70b51f8d 100644
--- a/servers/audio/effects/audio_effect_compressor.cpp
+++ b/servers/audio/effects/audio_effect_compressor.cpp
@@ -236,7 +236,7 @@ void AudioEffectCompressor::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::REAL, "attack_us", PROPERTY_HINT_RANGE, "20,2000,1"), "set_attack_us", "get_attack_us");
ADD_PROPERTY(PropertyInfo(Variant::REAL, "release_ms", PROPERTY_HINT_RANGE, "20,2000,1"), "set_release_ms", "get_release_ms");
ADD_PROPERTY(PropertyInfo(Variant::REAL, "mix", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_mix", "get_mix");
- ADD_PROPERTY(PropertyInfo(Variant::REAL, "sidechain", PROPERTY_HINT_ENUM), "set_sidechain", "get_sidechain");
+ ADD_PROPERTY(PropertyInfo(Variant::STRING, "sidechain", PROPERTY_HINT_ENUM), "set_sidechain", "get_sidechain");
}
AudioEffectCompressor::AudioEffectCompressor() {