Merge pull request #60384 from timothyqiu/noise-skirt

This commit is contained in:
Rémi Verschelde 2022-04-27 12:44:06 +02:00 committed by GitHub
commit f05ec69158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}