Cleanup: Remove unused code after recent commit
The Separate/Combine YCCA nodes were recently removed, but their drawing functions still exist. This patch removes it since it is no longer used.
This commit is contained in:
@@ -546,11 +546,6 @@ static void node_composit_buts_huecorrect(uiLayout *layout, bContext * /*C*/, Po
|
||||
uiTemplateCurveMapping(layout, ptr, "mapping", 'h', false, false, false, false);
|
||||
}
|
||||
|
||||
static void node_composit_buts_ycc(uiLayout *layout, bContext * /*C*/, PointerRNA *ptr)
|
||||
{
|
||||
layout->prop(ptr, "mode", DEFAULT_FLAGS, "", ICON_NONE);
|
||||
}
|
||||
|
||||
static void node_composit_buts_combsep_color(uiLayout *layout, bContext * /*C*/, PointerRNA *ptr)
|
||||
{
|
||||
bNode *node = (bNode *)ptr->data;
|
||||
@@ -646,10 +641,6 @@ static void node_composit_set_butfunc(blender::bke::bNodeType *ntype)
|
||||
case CMP_NODE_SEPARATE_COLOR:
|
||||
ntype->draw_buttons = node_composit_buts_combsep_color;
|
||||
break;
|
||||
case CMP_NODE_COMBYCCA_LEGACY:
|
||||
case CMP_NODE_SEPYCCA_LEGACY:
|
||||
ntype->draw_buttons = node_composit_buts_ycc;
|
||||
break;
|
||||
case CMP_NODE_CRYPTOMATTE:
|
||||
ntype->draw_buttons = node_composit_buts_cryptomatte;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user