diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-06 15:36:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-06 16:07:09 +0300 |
commit | 095df1ac217f3e43667f94ab189a67175bcd7af5 (patch) | |
tree | f651d78089a6f052cd334556eba4b7566b4e7a2f /intern/cycles/blender | |
parent | 54021da58bb0a593cbdfa38317d2d8a16fa1780c (diff) |
Python API: allow external render engines to use Eevee for LookDev shading
This is enabled with bl_use_eevee_viewport = True. It allows external engines
to generate an Cycles/Eevee shader node setup to emulate their materials in
the realtime viewport, or to leave it to users to do manually.
Removed bl_use_exclude_layers and bl_use_shading_nodes that did nothing
anymore. This should not break API compatibility, any scripts setting those
should continue to work the same as before.
Also adds descriptions for some RenderEngine settings.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/__init__.py b/intern/cycles/blender/addon/__init__.py index e05ed531a1f..4b838cce281 100644 --- a/intern/cycles/blender/addon/__init__.py +++ b/intern/cycles/blender/addon/__init__.py @@ -54,7 +54,7 @@ from . import ( class CyclesRender(bpy.types.RenderEngine): bl_idname = 'CYCLES' bl_label = "Cycles" - bl_use_shading_nodes = True + bl_use_eevee_viewport = True bl_use_preview = True bl_use_exclude_layers = True bl_use_save_buffers = True |