feler404 / ocvl-addon

Framework to ease manage OpenCV algorithms based on Blender
https://www.ocvl.teredo.tech/
GNU General Public License v3.0
58 stars 11 forks source link

Switch node viewer to composite node #9

Closed feler404 closed 5 years ago

feler404 commented 6 years ago

1) Flags to show preview: NODE_PREVIEW, and optional NODE_CLASS_INPUT cmp_node_type_base(&ntype, CMP_NODE_R_LAYERS, "Render Layers", NODE_CLASS_INPUT, NODE_PREVIEW); https://github.com/behollister/blender2.8/blob/blender2.8/source/blender/nodes/composite/nodes/node_composite_image.c

2) Static type: bl_static_type TypeError: bpy_struct: item.attr = val: enum "23" not found in ('CUSTOM', 'UNDEFINED', 'FRAME', 'GROUP', 'GROUP_INPUT', 'GROUP_OUTPUT', 'REROUTE', 'VIEWER', 'RGB', 'VALUE', 'MIX_RGB', 'VALTORGB', 'RGBTOBW', 'NORMAL', 'CURVE_VEC', 'CURVE_RGB', 'ALPHAOVER', 'BLUR', )

feler404 commented 5 years ago

We don't do that anymore :)