[Bf-blender-cvs] [080623b8ac4] blender-v2.93-release: Fix incorrect Denoise node SSE 4.1 warning on macOS Intel

Brecht Van Lommel noreply at git.blender.org
Fri May 28 16:03:26 CEST 2021


Commit: 080623b8ac4d21988718a7c9e107d4d5fa29bdce
Author: Brecht Van Lommel
Date:   Fri May 28 14:02:24 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rB080623b8ac4d21988718a7c9e107d4d5fa29bdce

Fix incorrect Denoise node SSE 4.1 warning on macOS Intel

===================================================================

M	source/blender/editors/space_node/drawnode.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list