diff options
author | Alex Drozd <drozdster@gmail.com> | 2023-05-02 22:51:01 +0200 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2023-05-12 12:31:59 +0200 |
commit | 09c5a8fe496217f408fea27a470ac8f990f3b20b (patch) | |
tree | 0f04986bffb53e70515a84333f696e19e456537c /modules/noise | |
parent | 7d0af7d10f612605f0a7f6c6c2ec5bbd19ce23e3 (diff) |
adjusting step size for fastnoise frequency hint
(cherry picked from commit 2b053e4e4c1b7f5477b02141aaa7586638da1937)
Diffstat (limited to 'modules/noise')
-rw-r--r-- | modules/noise/fastnoise_lite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/noise/fastnoise_lite.cpp b/modules/noise/fastnoise_lite.cpp index 224c082c0f..4aea98c4de 100644 --- a/modules/noise/fastnoise_lite.cpp +++ b/modules/noise/fastnoise_lite.cpp @@ -416,7 +416,7 @@ void FastNoiseLite::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::INT, "noise_type", PROPERTY_HINT_ENUM, "Simplex,Simplex Smooth,Cellular,Perlin,Value Cubic,Value"), "set_noise_type", "get_noise_type"); ADD_PROPERTY(PropertyInfo(Variant::INT, "seed"), "set_seed", "get_seed"); - ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "frequency", PROPERTY_HINT_RANGE, ".001,1"), "set_frequency", "get_frequency"); + ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "frequency", PROPERTY_HINT_RANGE, ".0001,1,.0001"), "set_frequency", "get_frequency"); ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "offset", PROPERTY_HINT_RANGE, "-999999999,999999999,0.01"), "set_offset", "get_offset"); ADD_GROUP("Fractal", "fractal_"); |