Skip to content

Commit

Permalink
NoiseTexture: Fix regression in starting thread
Browse files Browse the repository at this point in the history
Was a regression from #45618.

Fixes #46907.
  • Loading branch information
akien-mga committed Mar 11, 2021
1 parent dc82fdc commit 0d8182d
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 0d8182d

Please sign in to comment.