summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-01 08:37:53 +0200
committerGitHub <noreply@github.com>2022-04-01 08:37:53 +0200
commit0e8caf1a4e238b9bdd59da9121d3947d9b9062b7 (patch)
tree23a9d0c5337692fa1825d401f821023b39f43904
parent340ad7d74869e71d88f6ce7dcb1cf20e924faed2 (diff)
parent60dfe76e1f8a13fa7cfd1919a6fa74d41fdb4f58 (diff)
Merge pull request #59769 from fire-forge/fastnoise-group-name
Fix group names in FastNoise and Gradient
-rw-r--r--modules/noise/fastnoise_lite.cpp2
-rw-r--r--scene/resources/gradient.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/noise/fastnoise_lite.cpp b/modules/noise/fastnoise_lite.cpp
index 98a4f817e3..974b5c55bb 100644
--- a/modules/noise/fastnoise_lite.cpp
+++ b/modules/noise/fastnoise_lite.cpp
@@ -484,7 +484,7 @@ void FastNoiseLite::_bind_methods() {
// Domain warp.
- ADD_GROUP("Domain warp", "domain_warp_");
+ ADD_GROUP("Domain Warp", "domain_warp_");
ClassDB::bind_method(D_METHOD("set_domain_warp_enabled", "domain_warp_enabled"), &FastNoiseLite::set_domain_warp_enabled);
ClassDB::bind_method(D_METHOD("is_domain_warp_enabled"), &FastNoiseLite::is_domain_warp_enabled);
diff --git a/scene/resources/gradient.cpp b/scene/resources/gradient.cpp
index 79ac1b57c3..caaa3d8628 100644
--- a/scene/resources/gradient.cpp
+++ b/scene/resources/gradient.cpp
@@ -71,7 +71,7 @@ void Gradient::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::INT, "interpolation_mode", PROPERTY_HINT_ENUM, "Linear,Constant,Cubic"), "set_interpolation_mode", "get_interpolation_mode");
- ADD_GROUP("Raw data", "");
+ ADD_GROUP("Raw Data", "");
ADD_PROPERTY(PropertyInfo(Variant::PACKED_FLOAT32_ARRAY, "offsets"), "set_offsets", "get_offsets");
ADD_PROPERTY(PropertyInfo(Variant::PACKED_COLOR_ARRAY, "colors"), "set_colors", "get_colors");