[Bf-blender-cvs] [8fb2926a536] blender-v3.1-release: Cycles: show Metal device in preferences also on Intel Macs
Brecht Van Lommel
noreply at git.blender.org
Fri Feb 11 17:57:58 CET 2022
Commit: 8fb2926a536f7f38755612f97c4bb9e1de8d0a8d
Author: Brecht Van Lommel
Date: Fri Feb 11 17:49:35 2022 +0100
Branches: blender-v3.1-release
https://developer.blender.org/rB8fb2926a536f7f38755612f97c4bb9e1de8d0a8d
Cycles: show Metal device in preferences also on Intel Macs
In anticipation of enabling AMD Metal support.
Ref D14090, T92212
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 0548486c786..cc7c17fb955 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -594,14 +594,6 @@ class USERPREF_PT_system_sound(SystemPanel, CenterAlignMixIn, Panel):
class USERPREF_PT_system_cycles_devices(SystemPanel, CenterAlignMixIn, Panel):
bl_label = "Cycles Render Devices"
- @classmethod
- def poll(cls, _context):
- # No GPU rendering on macOS x86_64 currently.
- import platform
- import sys
- return bpy.app.build_options.cycles and \
- (sys.platform != "darwin" or platform.machine() == "arm64")
-
def draw_centered(self, context, layout):
prefs = context.preferences
More information about the Bf-blender-cvs
mailing list