Fix: raytrace_mirror does not exist anymore

Eevee default material settings were not showing.
This commit is contained in:
Jeroen Bakker 2018-06-01 12:14:08 +02:00
parent 0c18024a8d
commit 4eb47c303d
1 changed files with 1 additions and 2 deletions

View File

@ -172,9 +172,8 @@ class EEVEE_MATERIAL_PT_surface(MaterialButtonsPanel, Panel):
if mat.use_nodes:
panel_node_draw(layout, mat.node_tree, ('OUTPUT_EEVEE_MATERIAL', 'OUTPUT_MATERIAL'))
else:
raym = mat.raytrace_mirror
layout.prop(mat, "diffuse_color", text="Base Color")
layout.prop(raym, "metallic")
layout.prop(mat, "metallic")
layout.prop(mat, "specular_intensity", text="Specular")
layout.prop(mat, "roughness")