From b47b98db34d88f83d773e72bc301123410c851f4 Mon Sep 17 00:00:00 2001 From: NotWearingPants <26556598+NotWearingPants@users.noreply.github.com> Date: Mon, 26 Aug 2024 05:34:10 +0300 Subject: [PATCH] NoiseTexture2D/3D: Don't use a thread to regenerate when the build doesn't support threads --- modules/noise/noise_texture_2d.cpp | 3 +++ modules/noise/noise_texture_3d.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/modules/noise/noise_texture_2d.cpp b/modules/noise/noise_texture_2d.cpp index 0960b2ad360..b55b1141e17 100644 --- a/modules/noise/noise_texture_2d.cpp +++ b/modules/noise/noise_texture_2d.cpp @@ -194,6 +194,9 @@ Ref NoiseTexture2D::_modulate_with_gradient(Ref p_image, Ref NoiseTexture3D::_modulate_with_gradient(Ref p_image, Ref