diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-14 11:32:15 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-14 11:34:02 +0100 |
commit | a565c93aeb716c03ffc98159b274fd9e790e7d62 (patch) | |
tree | 2b2015ec3596372992642cb66970f5f25622cd91 /editor/editor_resource_preview.cpp | |
parent | dbbfade584ed5f1ecedd8ce78552e90df66a538d (diff) | |
download | redot-engine-a565c93aeb716c03ffc98159b274fd9e790e7d62.tar.gz |
Export: Properly disable resource preview thread
Fixes #26857.
Fixes #34433.
Fixes #34826.
Diffstat (limited to 'editor/editor_resource_preview.cpp')
-rw-r--r-- | editor/editor_resource_preview.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/editor_resource_preview.cpp b/editor/editor_resource_preview.cpp index 9d31e26086..f63d4884e2 100644 --- a/editor/editor_resource_preview.cpp +++ b/editor/editor_resource_preview.cpp @@ -215,7 +215,6 @@ void EditorResourcePreview::_generate_preview(Ref<ImageTexture> &r_texture, Ref< void EditorResourcePreview::_thread() { -#ifndef SERVER_ENABLED exited = false; while (!exit) { @@ -349,7 +348,6 @@ void EditorResourcePreview::_thread() { preview_mutex->unlock(); } } -#endif exited = true; } |