From 30cebf5747a27beee22b9d9ca3a5f97d027b0e2d Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Wed, 8 Dec 2021 22:02:19 -0500 Subject: Cleanup: Remove empty node button layout function Was unused since the first commit: rB658b4c0d56dffbcf1476c2a2a019fa0ecfb79376 --- source/blender/editors/space_node/drawnode.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index f229e7090bb..faed0f0fda0 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -2454,11 +2454,6 @@ static void node_composit_buts_planetrackdeform(uiLayout *layout, bContext *C, P } } -static void node_composit_buts_cornerpin(uiLayout *UNUSED(layout), - bContext *UNUSED(C), - PointerRNA *UNUSED(ptr)) -{ -} static void node_composit_buts_sunbeams(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { @@ -2793,9 +2788,6 @@ static void node_composit_set_butfunc(bNodeType *ntype) case CMP_NODE_PLANETRACKDEFORM: ntype->draw_buttons = node_composit_buts_planetrackdeform; break; - case CMP_NODE_CORNERPIN: - ntype->draw_buttons = node_composit_buts_cornerpin; - break; case CMP_NODE_SUNBEAMS: ntype->draw_buttons = node_composit_buts_sunbeams; break; -- cgit v1.2.3