forked from bartvdbraak/blender
option to build without the legacy compositor
This commit is contained in:
parent
257c6de9ac
commit
455c37c16b
@ -132,6 +132,7 @@ option(WITH_BULLET "Enable Bullet (Physics Engine)" ON)
|
||||
option(WITH_GAMEENGINE "Enable Game Engine" ON)
|
||||
option(WITH_PLAYER "Build Player" OFF)
|
||||
option(WITH_COMPOSITOR "Enable the tile based nodal compositor" ON)
|
||||
option(WITH_COMPOSITOR_LEGACY "Enable legacy compositor" ON)
|
||||
|
||||
# GHOST Windowing Library Options
|
||||
option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF)
|
||||
@ -1796,6 +1797,7 @@ if(FIRST_RUN)
|
||||
info_cfg_option(WITH_GAMEENGINE)
|
||||
info_cfg_option(WITH_PLAYER)
|
||||
info_cfg_option(WITH_BULLET)
|
||||
info_cfg_option(WITH_IK_SOLVER)
|
||||
info_cfg_option(WITH_IK_ITASC)
|
||||
info_cfg_option(WITH_OPENCOLLADA)
|
||||
info_cfg_option(WITH_FFTW3)
|
||||
|
@ -251,4 +251,8 @@ if(WITH_COMPOSITOR)
|
||||
add_definitions(-DWITH_COMPOSITOR)
|
||||
endif()
|
||||
|
||||
if(WITH_COMPOSITOR_LEGACY)
|
||||
add_definitions(-DWITH_COMPOSITOR_LEGACY)
|
||||
endif()
|
||||
|
||||
blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}")
|
||||
|
@ -40,6 +40,9 @@ if env['WITH_BF_COMPOSITOR']:
|
||||
incs += ' ../compositor '
|
||||
defs.append("WITH_COMPOSITOR")
|
||||
|
||||
# TODO, make optional
|
||||
defs.append("WITH_COMPOSITOR_LEGACY")
|
||||
|
||||
env.BlenderLib ( libname = 'bf_nodes', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [190,105] )
|
||||
env.BlenderLib ( libname = 'bf_cmpnodes', sources = cmpsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] )
|
||||
env.BlenderLib ( libname = 'bf_shdnodes', sources = shdsources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [175,101] )
|
||||
|
@ -359,6 +359,7 @@ void ntreeCompositEndExecTree(bNodeTreeExec *exec, int use_tree_data)
|
||||
}
|
||||
|
||||
#ifdef WITH_COMPOSITOR
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
|
||||
/* ***************************** threaded version for execute composite nodes ************* */
|
||||
/* these are nodes without input, only giving values */
|
||||
@ -685,20 +686,29 @@ static void ntreeCompositExecTreeOld(bNodeTree *ntree, RenderData *rd, int do_pr
|
||||
/* XXX top-level tree uses the ntree->execdata pointer */
|
||||
ntreeCompositEndExecTree(exec, 1);
|
||||
}
|
||||
#endif
|
||||
#endif /* WITH_COMPOSITOR_LEGACY */
|
||||
#endif /* WITH_COMPOSITOR */
|
||||
|
||||
void *COM_linker_hack = NULL;
|
||||
|
||||
void ntreeCompositExecTree(bNodeTree *ntree, RenderData *rd, int rendering, int do_preview)
|
||||
{
|
||||
#ifdef WITH_COMPOSITOR
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
if (G.debug_value == 200)
|
||||
{
|
||||
ntreeCompositExecTreeOld(ntree, rd, do_preview);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
COM_execute(rd, ntree, rendering);
|
||||
}
|
||||
#else
|
||||
(void)ntree, (void)rd, (void)rendering, (void)do_preview;
|
||||
#endif
|
||||
|
||||
(void)do_preview;
|
||||
}
|
||||
|
||||
/* *********************************************** */
|
||||
|
@ -29,7 +29,6 @@
|
||||
* \ingroup cmpnodes
|
||||
*/
|
||||
|
||||
|
||||
#include "node_composite_util.h"
|
||||
|
||||
/* **************** ALPHAOVER ******************** */
|
||||
@ -109,8 +108,6 @@ static void do_alphaover_mixed(bNode *node, float *out, float *src, float *over,
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static void node_composit_exec_alphaover(void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
|
||||
{
|
||||
/* stack order in: col col */
|
||||
@ -153,7 +150,8 @@ void register_node_type_cmp_alphaover(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 80, 40, 120);
|
||||
node_type_init(&ntype, node_alphaover_init);
|
||||
node_type_storage(&ntype, "NodeTwoFloats", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_alphaover);
|
||||
|
||||
#endif
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -271,7 +271,8 @@ void register_node_type_cmp_bilateralblur(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_bilateralblur);
|
||||
node_type_storage(&ntype, "NodeBilateralBlurData", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_bilateralblur);
|
||||
|
||||
#endif
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -734,7 +734,8 @@ void register_node_type_cmp_blur(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 120, 80, 200);
|
||||
node_type_init(&ntype, node_composit_init_blur);
|
||||
node_type_storage(&ntype, "NodeBlurData", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_blur);
|
||||
|
||||
#endif
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -99,7 +99,9 @@ void register_node_type_cmp_brightcontrast(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_BRIGHTCONTRAST, "Bright/Contrast", NODE_CLASS_OP_COLOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_brightcontrast_in, cmp_node_brightcontrast_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_brightcontrast);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -209,7 +209,9 @@ void register_node_type_cmp_channel_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 250);
|
||||
node_type_init(&ntype, node_composit_init_channel_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_channel_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -192,7 +192,9 @@ void register_node_type_cmp_chroma_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 300);
|
||||
node_type_init(&ntype, node_composit_init_chroma_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_chroma_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -132,7 +132,9 @@ void register_node_type_cmp_color_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 300);
|
||||
node_type_init(&ntype, node_composit_init_color_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_color_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -335,7 +335,9 @@ void register_node_type_cmp_color_spill(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 140, 80, 200);
|
||||
node_type_init(&ntype, node_composit_init_color_spill);
|
||||
node_type_storage(&ntype, "NodeColorspill", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_color_spill);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -192,7 +192,9 @@ void register_node_type_cmp_colorbalance(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 400, 200, 400);
|
||||
node_type_init(&ntype, node_composit_init_colorbalance);
|
||||
node_type_storage(&ntype, "NodeColorBalance", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_colorbalance);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -104,7 +104,9 @@ void register_node_type_cmp_composite(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_COMPOSITE, "Composite", NODE_CLASS_OUTPUT, NODE_PREVIEW);
|
||||
node_type_socket_templates(&ntype, cmp_node_composite_in, NULL);
|
||||
node_type_size(&ntype, 80, 60, 200);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_composite);
|
||||
#endif
|
||||
/* Do not allow muting for this node. */
|
||||
node_type_internal_connect(&ntype, NULL);
|
||||
|
||||
|
@ -120,7 +120,9 @@ void register_node_type_cmp_crop(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_crop);
|
||||
node_type_storage(&ntype, "NodeTwoXYs", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_crop);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -71,7 +71,9 @@ void register_node_type_cmp_curve_time(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_curves_time);
|
||||
node_type_storage(&ntype, "CurveMapping", node_free_curves, node_copy_curves);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_curves_time);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -111,7 +113,9 @@ void register_node_type_cmp_curve_vec(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 140, 320);
|
||||
node_type_init(&ntype, node_composit_init_curve_vec);
|
||||
node_type_storage(&ntype, "CurveMapping", node_free_curves, node_copy_curves);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_curve_vec);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -198,7 +202,9 @@ void register_node_type_cmp_curve_rgb(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 140, 320);
|
||||
node_type_init(&ntype, node_composit_init_curve_rgb);
|
||||
node_type_storage(&ntype, "CurveMapping", node_free_curves, node_copy_curves);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_curve_rgb);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -891,7 +891,9 @@ void register_node_type_cmp_defocus(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_defocus);
|
||||
node_type_storage(&ntype, "NodeDefocus", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_defocus);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -143,7 +143,9 @@ void register_node_type_cmp_diff_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 250);
|
||||
node_type_init(&ntype, node_composit_init_diff_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_diff_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -161,7 +161,9 @@ void register_node_type_cmp_dilateerode(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_dilateerode_in, cmp_node_dilateerode_out);
|
||||
node_type_size(&ntype, 130, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_dilateerode);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_dilateerode);
|
||||
#endif
|
||||
|
||||
node_type_storage(&ntype, "NodeDilateErode", node_free_standard_storage, node_copy_standard_storage);
|
||||
|
||||
|
@ -139,7 +139,9 @@ void register_node_type_cmp_dblur(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_dblur);
|
||||
node_type_storage(&ntype, "NodeDBlurData", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_dblur);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -189,7 +189,9 @@ void register_node_type_cmp_displace(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_DISPLACE, "Displace", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_displace_in, cmp_node_displace_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_displace);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -200,7 +200,9 @@ void register_node_type_cmp_distance_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 250);
|
||||
node_type_init(&ntype, node_composit_init_distance_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_distance_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -1278,7 +1278,9 @@ void register_node_type_cmp_doubleedgemask(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_DOUBLEEDGEMASK, "Double Edge Mask", NODE_CLASS_MATTE, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_doubleedgemask_in, cmp_node_doubleedgemask_out);
|
||||
node_type_size(&ntype, 210, 210, 210);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_doubleedgemask);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -228,7 +228,9 @@ void register_node_type_cmp_filter(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_filter_in, cmp_node_filter_out);
|
||||
node_type_size(&ntype, 80, 40, 120);
|
||||
node_type_label(&ntype, node_filter_label);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_filter);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -95,7 +95,9 @@ void register_node_type_cmp_flip(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_FLIP, "Flip", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_flip_in, cmp_node_flip_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_flip);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -82,7 +82,9 @@ void register_node_type_cmp_gamma(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_GAMMA, "Gamma", NODE_CLASS_OP_COLOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_gamma_in, cmp_node_gamma_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_gamma);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -499,7 +499,9 @@ void register_node_type_cmp_glare(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_glare);
|
||||
node_type_storage(&ntype, "NodeGlare", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_glare);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -111,7 +111,9 @@ void register_node_type_cmp_hue_sat(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 80, 250);
|
||||
node_type_init(&ntype, node_composit_init_hue_sat);
|
||||
node_type_storage(&ntype, "NodeHueSat", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_hue_sat);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -160,7 +160,9 @@ void register_node_type_cmp_huecorrect(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 320, 140, 400);
|
||||
node_type_init(&ntype, node_composit_init_huecorrect);
|
||||
node_type_storage(&ntype, "CurveMapping", node_free_curves, node_copy_curves);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_huecorrect);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -114,7 +114,9 @@ void register_node_type_cmp_idmask(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_ID_MASK, "ID Mask", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_idmask_in, cmp_node_idmask_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_idmask);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -563,7 +563,9 @@ void register_node_type_cmp_image(bNodeTreeType *ttype)
|
||||
node_type_init(&ntype, node_composit_init_image);
|
||||
node_type_storage(&ntype, "ImageUser", node_composit_free_image, node_composit_copy_image);
|
||||
node_type_update(&ntype, cmp_node_image_update, NULL);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_image);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -711,7 +713,9 @@ void register_node_type_cmp_rlayers(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_R_LAYERS, "Render Layers", NODE_CLASS_INPUT, NODE_PREVIEW|NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, NULL, cmp_node_rlayers_out);
|
||||
node_type_size(&ntype, 150, 100, 300);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_rlayers);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -55,7 +55,9 @@ void register_node_type_cmp_inpaint(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_INPAINT, "Inpaint", NODE_CLASS_OP_FILTER, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_inpaint_in, cmp_node_inpaint_out);
|
||||
node_type_size(&ntype, 130, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_inpaint);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -129,7 +129,9 @@ void register_node_type_cmp_invert(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_invert_in, cmp_node_invert_out);
|
||||
node_type_size(&ntype, 120, 120, 140);
|
||||
node_type_init(&ntype, node_composit_init_invert);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_invert);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -200,7 +200,9 @@ void register_node_type_cmp_lensdist(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_lensdist);
|
||||
node_type_storage(&ntype, "NodeLensDist", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_lensdist);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -323,7 +323,9 @@ void register_node_type_cmp_view_levels(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_view_levels);
|
||||
node_type_storage(&ntype, "ImageUser", NULL, NULL);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_view_levels);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -113,7 +113,9 @@ void register_node_type_cmp_luma_matte(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 200, 80, 250);
|
||||
node_type_init(&ntype, node_composit_init_luma_matte);
|
||||
node_type_storage(&ntype, "NodeChroma", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_luma_matte);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -169,7 +169,9 @@ void register_node_type_cmp_mapuv(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_MAP_UV, "Map UV", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_mapuv_in, cmp_node_mapuv_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_mapuv);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -91,7 +91,9 @@ void register_node_type_cmp_map_value(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 100, 60, 150);
|
||||
node_type_init(&ntype, node_composit_init_map_value);
|
||||
node_type_storage(&ntype, "TexMapping", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_map_value);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -203,7 +203,9 @@ void register_node_type_cmp_math(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_math_in, cmp_node_math_out);
|
||||
node_type_size(&ntype, 120, 110, 160);
|
||||
node_type_label(&ntype, node_math_label);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_math);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -90,7 +90,9 @@ void register_node_type_cmp_mix_rgb(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_mix_rgb_in, cmp_node_mix_rgb_out);
|
||||
node_type_size(&ntype, 110, 60, 120);
|
||||
node_type_label(&ntype, node_blend_label);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_mix_rgb);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -155,7 +155,9 @@ void register_node_type_cmp_movieclip(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 120, 80, 300);
|
||||
node_type_init(&ntype, init);
|
||||
node_type_storage(&ntype, "MovieClipUser", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_movieclip);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -99,7 +99,9 @@ void register_node_type_cmp_normal(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_normal_in, cmp_node_normal_out);
|
||||
node_type_init(&ntype, init);
|
||||
node_type_size(&ntype, 100, 60, 200);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_normal);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -109,7 +109,9 @@ void register_node_type_cmp_normalize(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_NORMALIZE, "Normalize", NODE_CLASS_OP_VECTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_normalize_in, cmp_node_normalize_out);
|
||||
node_type_size(&ntype, 100, 60, 150);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_normalize);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -68,7 +68,9 @@ void register_node_type_cmp_premulkey(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_PREMULKEY, "Alpha Convert", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_premulkey_in, cmp_node_premulkey_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_premulkey);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -66,7 +66,9 @@ void register_node_type_cmp_rgb(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, NULL, cmp_node_rgb_out);
|
||||
node_type_init(&ntype, node_composit_init_rgb);
|
||||
node_type_size(&ntype, 140, 80, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_rgb);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -134,7 +134,9 @@ void register_node_type_cmp_rotate(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, cmp_node_rotate_in, cmp_node_rotate_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_rotate);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_rotate);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -189,7 +189,9 @@ void register_node_type_cmp_scale(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SCALE, "Scale", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_scale_in, cmp_node_scale_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_scale);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -106,7 +106,9 @@ void register_node_type_cmp_sephsva(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SEPHSVA, "Separate HSVA", NODE_CLASS_CONVERTOR, 0);
|
||||
node_type_socket_templates(&ntype, cmp_node_sephsva_in, cmp_node_sephsva_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_sephsva);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -175,7 +177,9 @@ void register_node_type_cmp_combhsva(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_COMBHSVA, "Combine HSVA", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_combhsva_in, cmp_node_combhsva_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_combhsva);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -84,7 +84,9 @@ void register_node_type_cmp_seprgba(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SEPRGBA, "Separate RGBA", NODE_CLASS_CONVERTOR, 0);
|
||||
node_type_socket_templates(&ntype, cmp_node_seprgba_in, cmp_node_seprgba_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_seprgba);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -152,7 +154,9 @@ void register_node_type_cmp_combrgba(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_COMBRGBA, "Combine RGBA", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_combrgba_in, cmp_node_combrgba_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_combrgba);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -153,7 +153,9 @@ void register_node_type_cmp_sepycca(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SEPYCCA, "Separate YCbCrA", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_sepycca_in, cmp_node_sepycca_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_sepycca);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -298,7 +300,9 @@ void register_node_type_cmp_combycca(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_COMBYCCA, "Combine YCbCrA", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_combycca_in, cmp_node_combycca_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_combycca);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -106,7 +106,9 @@ void register_node_type_cmp_sepyuva(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SEPYUVA, "Separate YUVA", NODE_CLASS_CONVERTOR, 0);
|
||||
node_type_socket_templates(&ntype, cmp_node_sepyuva_in, cmp_node_sepyuva_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_sepyuva);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -177,7 +179,9 @@ void register_node_type_cmp_combyuva(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_COMBYUVA, "Combine YUVA", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_combyuva_in, cmp_node_combyuva_out);
|
||||
node_type_size(&ntype, 80, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_combyuva);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -80,7 +80,9 @@ void register_node_type_cmp_setalpha(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_SETALPHA, "Set Alpha", NODE_CLASS_CONVERTOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_setalpha_in, cmp_node_setalpha_out);
|
||||
node_type_size(&ntype, 120, 40, 140);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_setalpha);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -158,7 +158,9 @@ void register_node_type_cmp_splitviewer(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
node_type_init(&ntype, node_composit_init_splitviewer);
|
||||
node_type_storage(&ntype, "ImageUser", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_splitviewer);
|
||||
#endif
|
||||
/* Do not allow muting for this node. */
|
||||
node_type_internal_connect(&ntype, NULL);
|
||||
|
||||
|
@ -74,7 +74,9 @@ void register_node_type_cmp_stabilize2d(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_STABILIZE2D, "Stabilize 2D", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_stabilize2d_in, cmp_node_stabilize2d_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_stabilize2d);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -149,7 +149,9 @@ void register_node_type_cmp_texture(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_TEXTURE, "Texture", NODE_CLASS_INPUT, NODE_OPTIONS|NODE_PREVIEW);
|
||||
node_type_socket_templates(&ntype, cmp_node_texture_in, cmp_node_texture_out);
|
||||
node_type_size(&ntype, 120, 80, 240);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_texture);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -171,7 +171,9 @@ void register_node_type_cmp_tonemap(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 150, 120, 200);
|
||||
node_type_init(&ntype, node_composit_init_tonemap);
|
||||
node_type_storage(&ntype, "NodeTonemap", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_tonemap);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -59,7 +59,9 @@ void register_node_type_cmp_trackpos(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 120, 80, 300);
|
||||
node_type_init(&ntype, init);
|
||||
node_type_storage(&ntype, "NodeTrackPosData", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_trackpos);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -134,7 +134,9 @@ void register_node_type_cmp_transform(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_TRANSFORM, "Transform", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_transform_in, cmp_node_transform_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_transform);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -66,7 +66,9 @@ void register_node_type_cmp_translate(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_TRANSLATE, "Translate", NODE_CLASS_DISTORT, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_translate_in, cmp_node_translate_out);
|
||||
node_type_size(&ntype, 140, 100, 320);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_translate);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -92,7 +92,9 @@ void register_node_type_cmp_valtorgb(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 240, 200, 300);
|
||||
node_type_init(&ntype, node_composit_init_valtorgb);
|
||||
node_type_storage(&ntype, "ColorBand", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_valtorgb);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
@ -144,7 +146,9 @@ void register_node_type_cmp_rgbtobw(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_RGBTOBW, "RGB to BW", NODE_CLASS_CONVERTOR, 0);
|
||||
node_type_socket_templates(&ntype, cmp_node_rgbtobw_in, cmp_node_rgbtobw_out);
|
||||
node_type_size(&ntype, 80, 40, 120);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_rgbtobw);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -65,7 +65,9 @@ void register_node_type_cmp_value(bNodeTreeType *ttype)
|
||||
node_type_socket_templates(&ntype, NULL, cmp_node_value_out);
|
||||
node_type_init(&ntype, node_composit_init_value);
|
||||
node_type_size(&ntype, 80, 40, 120);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_value);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -103,7 +103,9 @@ void register_node_type_cmp_vecblur(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 120, 80, 200);
|
||||
node_type_init(&ntype, node_composit_init_vecblur);
|
||||
node_type_storage(&ntype, "NodeBlurData", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_vecblur);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
@ -142,7 +142,9 @@ void register_node_type_cmp_viewer(bNodeTreeType *ttype)
|
||||
node_type_size(&ntype, 80, 60, 200);
|
||||
node_type_init(&ntype, node_composit_init_viewer);
|
||||
node_type_storage(&ntype, "ImageUser", node_free_standard_storage, node_copy_standard_storage);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_viewer);
|
||||
#endif
|
||||
node_type_internal_connect(&ntype, NULL);
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
|
@ -229,7 +229,9 @@ void register_node_type_cmp_zcombine(bNodeTreeType *ttype)
|
||||
node_type_base(ttype, &ntype, CMP_NODE_ZCOMBINE, "Z Combine", NODE_CLASS_OP_COLOR, NODE_OPTIONS);
|
||||
node_type_socket_templates(&ntype, cmp_node_zcombine_in, cmp_node_zcombine_out);
|
||||
node_type_size(&ntype, 80, 40, 120);
|
||||
#ifdef WITH_COMPOSITOR_LEGACY
|
||||
node_type_exec(&ntype, node_composit_exec_zcombine);
|
||||
#endif
|
||||
|
||||
nodeRegisterType(ttype, &ntype);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user