diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-21 16:48:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 16:48:29 +0100 |
commit | a77c862b18c283e2795a7bdf665b2d9cc9c3b4d2 (patch) | |
tree | 29701b02651ef860c1c610ec9145c799767d93b6 /servers/audio | |
parent | 0447d6fc8edfd636fa6c859d32e76ec8a760f42e (diff) | |
parent | 3c0059650da3f1feb3c95364d571fe706826dec6 (diff) |
Merge pull request #36400 from reduz/variant-string-name
Added StringName as a variant type.
Diffstat (limited to 'servers/audio')
-rw-r--r-- | servers/audio/effects/audio_effect_compressor.cpp | 2 |
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 1ef3bb9b10..701e17e0d6 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::STRING, "sidechain", PROPERTY_HINT_ENUM), "set_sidechain", "get_sidechain"); + ADD_PROPERTY(PropertyInfo(Variant::STRING_NAME, "sidechain", PROPERTY_HINT_ENUM), "set_sidechain", "get_sidechain"); } AudioEffectCompressor::AudioEffectCompressor() { |