[Bf-blender-cvs] [2fabbe31084] master: Cycles: tweak preferences text when no compatible GPUs are found

Brecht Van Lommel noreply at git.blender.org
Thu Apr 25 03:49:54 CEST 2019


Commit: 2fabbe31084e7a9d28b831b9a39f090e3ae86095
Author: Brecht Van Lommel
Date:   Mon Apr 22 10:10:43 2019 +0200
Branches: master
https://developer.blender.org/rB2fabbe31084e7a9d28b831b9a39f090e3ae86095

Cycles: tweak preferences text when no compatible GPUs are found

Try to make it more clear that this only affects Cycles, many users seem to
miss the panel title.

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

M	intern/cycles/blender/addon/properties.py

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

diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index d6242fc3f7c..6da88a769f5 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -1490,7 +1490,9 @@ class CyclesPreferences(bpy.types.AddonPreferences):
                 break
 
         if not found_device:
-            box.label(text="No compatible GPUs found", icon='INFO')
+            col = box.column(align=True);
+            col.label(text="No compatible GPUs found for path tracing", icon='INFO')
+            col.label(text="Cycles will render on the CPU", icon='BLANK1')
             return
 
         for device in devices:



More information about the Bf-blender-cvs mailing list