I’m trying to implement a custom render engine, following the example for Blender 2.8 here.
When I activate my custom render engine and switch to the Shading workspace, the node menus disappear and I get the error:
WARN (bpy.rna): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\python\intern\bpy_rna.c:1449 pyrna_enum_to_py: current value '0' matches no enum in 'SpaceNodeEditor', '(null)', 'tree_type'
I’ve pored over the Python API and looked at how other render engines (Lux) does this, but I’m stumped.
It seems that the Shader Node Editor wants to disappear when I switch to my custom render engine, and it feels like there should be a
COMPAT_ENGINES field that I can add my engine to, much like the other panels.
Any clues / tips about how to fix this?