diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-02-11 19:49:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-02-11 19:51:55 +0300 |
commit | 8fb2926a536f7f38755612f97c4bb9e1de8d0a8d (patch) | |
tree | 7f3f50d10f48916b8be91fdf8e79caddde942195 | |
parent | 9ac1735205632589b49d87b6fb6c376dc603955b (diff) |
Cycles: show Metal device in preferences also on Intel Macs
In anticipation of enabling AMD Metal support.
Ref D14090, T92212
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 8 |
1 files changed, 0 insertions, 8 deletions
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 |