Browse Source

Enable material diffuse and specular panels

pull/8/head
Adam Johnson 10 years ago
parent
commit
91190926ce
  1. 2
      korman/render.py

2
korman/render.py

@ -27,6 +27,8 @@ class PlasmaRenderEngine(bpy.types.RenderEngine):
# Explicitly whitelist compatible Blender panels... # Explicitly whitelist compatible Blender panels...
from bl_ui import properties_material from bl_ui import properties_material
properties_material.MATERIAL_PT_context_material.COMPAT_ENGINES.add("PLASMA_GAME") 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_options.COMPAT_ENGINES.add("PLASMA_GAME")
properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add("PLASMA_GAME") properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add("PLASMA_GAME")
del properties_material del properties_material

Loading…
Cancel
Save