diff options
-rw-r--r-- | modules/noise/noise_texture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/noise/noise_texture.cpp b/modules/noise/noise_texture.cpp index 2b35e00906..e9d16e548c 100644 --- a/modules/noise/noise_texture.cpp +++ b/modules/noise/noise_texture.cpp @@ -300,6 +300,8 @@ bool NoiseTexture::get_seamless() { } void NoiseTexture::set_seamless_blend_skirt(real_t p_blend_skirt) { + ERR_FAIL_COND(p_blend_skirt < 0.05 || p_blend_skirt > 1); + if (p_blend_skirt == seamless_blend_skirt) { return; } |