summaryrefslogtreecommitdiff
path: root/modules/denoise/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/denoise/config.py')
-rw-r--r--modules/denoise/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/denoise/config.py b/modules/denoise/config.py
index 20a5e1da2f..27d2ffbf86 100644
--- a/modules/denoise/config.py
+++ b/modules/denoise/config.py
@@ -5,7 +5,7 @@ def can_build(env, platform):
# as doing lightmap generation and denoising on Android or Web
# would be a bit far-fetched.
desktop_platforms = ["linuxbsd", "macos", "windows"]
- return env["tools"] and platform in desktop_platforms and env["arch"] == "x86_64"
+ return env.editor_build and platform in desktop_platforms and env["arch"] == "x86_64"
def configure(env):