You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
NoiseTexture: Fix regression in starting thread
Was a regression from #45618. Fixes #46907.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user