Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-05-28 15:02:24 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-05-28 17:02:43 +0300
commit080623b8ac4d21988718a7c9e107d4d5fa29bdce (patch)
tree8d6b8da321c2db64c5f3e3364b125407466bdb1d
parentadafd7257d0ed1bcca9eae63ed1e87a891c44975 (diff)
Fix incorrect Denoise node SSE 4.1 warning on macOS Intel
-rw-r--r--source/blender/editors/space_node/drawnode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 5110c14ef4d..510fcd5e887 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -2751,11 +2751,10 @@ static void node_composit_buts_denoise(uiLayout *layout, bContext *UNUSED(C), Po
#else
/* Always supported through Accelerate framework BNNS on macOS. */
# ifndef __APPLE__
- if (!BLI_cpu_support_sse41())
-# endif
- {
+ if (!BLI_cpu_support_sse41()) {
uiItemL(layout, IFACE_("Disabled, CPU with SSE4.1 is required"), ICON_ERROR);
}
+# endif
#endif
uiItemR(layout, ptr, "use_hdr", DEFAULT_FLAGS, NULL, ICON_NONE);