From 91190926ce410d5fc54a7c86c18cdf0430bba6c6 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 22 Jun 2015 18:31:50 -0400 Subject: [PATCH] Enable material diffuse and specular panels --- korman/render.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/korman/render.py b/korman/render.py index 0e6f536..4ac6101 100644 --- a/korman/render.py +++ b/korman/render.py @@ -27,6 +27,8 @@ class PlasmaRenderEngine(bpy.types.RenderEngine): # Explicitly whitelist compatible Blender panels... from bl_ui import properties_material properties_material.MATERIAL_PT_context_material.COMPAT_ENGINES.add("PLASMA_GAME") +properties_material.MATERIAL_PT_diffuse.COMPAT_ENGINES.add("PLASMA_GAME") +properties_material.MATERIAL_PT_specular.COMPAT_ENGINES.add("PLASMA_GAME") properties_material.MATERIAL_PT_options.COMPAT_ENGINES.add("PLASMA_GAME") properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add("PLASMA_GAME") del properties_material