Skip to content

Commit

Permalink
Merge pull request #46909 from akien-mga/3.2-fix-noisetexture-thread
Browse files Browse the repository at this point in the history
NoiseTexture: Fix regression in starting thread
  • Loading branch information
akien-mga authored Mar 11, 2021
2 parents 80d75b9 + 0d8182d commit db246f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/opensimplex/noise_texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void NoiseTexture::_update_texture() {
#endif
if (use_thread) {

if (noise_thread.is_started()) {
if (!noise_thread.is_started()) {
noise_thread.start(_thread_function, this);
regen_queued = false;
} else {
Expand Down

0 comments on commit db246f8

Please sign in to comment.