Fix T74996: material custom properties not displayed for Cycles
authorRobert Guetzkow <rjg>
Thu, 26 Mar 2020 23:44:08 +0000 (00:44 +0100)
committerBrecht Van Lommel <brecht@blender.org>
Thu, 26 Mar 2020 23:44:18 +0000 (00:44 +0100)
Differential Revision: https://developer.blender.org/D7223

release/scripts/startup/bl_ui/properties_material.py

index 0849437b680c60dd3a0ee0913d8595f710b65e3e..ab70c4c25c096ea07bd1968719f4a3c4546712a0 100644 (file)
@@ -74,7 +74,7 @@ class MATERIAL_PT_preview(MaterialButtonsPanel, Panel):
 
 
 class MATERIAL_PT_custom_props(MaterialButtonsPanel, PropertyPanel, Panel):
-    COMPAT_ENGINES = {'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
+    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
     _context_path = "material"
     _property_type = bpy.types.Material