Closed feler404 closed 5 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', )
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', )
We don't do that anymore :)
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', )