[Bf-blender-cvs] [30cebf5747a] master: Cleanup: Remove empty node button layout function

Aaron Carlisle noreply at git.blender.org
Thu Dec 9 04:03:01 CET 2021


Commit: 30cebf5747a27beee22b9d9ca3a5f97d027b0e2d
Author: Aaron Carlisle
Date:   Wed Dec 8 22:02:19 2021 -0500
Branches: master
https://developer.blender.org/rB30cebf5747a27beee22b9d9ca3a5f97d027b0e2d

Cleanup: Remove empty node button layout function

Was unused since the first commit:
rB658b4c0d56dffbcf1476c2a2a019fa0ecfb79376

===================================================================

M	source/blender/editors/space_node/drawnode.cc

===================================================================

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;



More information about the Bf-blender-cvs mailing list