diff --git a/benchmark/space/__init__.py b/benchmark/space/__init__.py index 54e6654..ddfeb62 100644 --- a/benchmark/space/__init__.py +++ b/benchmark/space/__init__.py @@ -424,10 +424,12 @@ class BENCHMARK_PT_main(Panel): sub.scale_y = 64.0 sub.separator() - sub = col.row() - sub.scale_y = 1.5 - sub.prop(context.scene, "compute_device", text="") - sub.separator() + compute_device_list_get(None, context) + if len(global_cached_compute_devices) > 1: + sub = col.row() + sub.scale_y = 1.5 + sub.prop(context.scene, "compute_device", text="") + sub.separator() sub = col.row() sub.scale_y = 2.25