Cleanup: Remove unused node editor toolbar file

This file was added nine years ago, and was unused then.
Now with active tools we use a different approach to create
toolbars, so the file is not relevant.
This commit is contained in:
Hans Goudey
2022-01-18 12:31:14 -06:00
parent 15657b7ccd
commit 09ecb089a5
4 changed files with 0 additions and 44 deletions

View File

@@ -51,7 +51,6 @@ set(SRC
node_relationships.cc
node_select.cc
node_templates.cc
node_toolbar.cc
node_view.cc
space_node.cc

View File

@@ -133,8 +133,6 @@ blender::float2 node_to_view(const bNode &node, const blender::float2 &co);
void node_to_updated_rect(const bNode &node, rctf &r_rect);
blender::float2 node_from_view(const bNode &node, const blender::float2 &co);
void node_toolbar_register(ARegionType *art);
void node_operatortypes();
void node_keymap(wmKeyConfig *keyconf);

View File

@@ -1,39 +0,0 @@
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The Original Code is Copyright (C) 2012 Blender Foundation.
* All rights reserved.
*/
/** \file
* \ingroup nodes
*/
#include "BLI_utildefines.h"
#include "DNA_node_types.h"
#include "BKE_context.h"
#include "BKE_screen.h"
#include "WM_api.h"
#include "node_intern.hh" /* own include */
/* ******************* node toolbar registration ************** */
void node_toolbar_register(ARegionType *UNUSED(art))
{
}

View File

@@ -1051,7 +1051,5 @@ void ED_spacetype_node()
art->draw = node_toolbar_region_draw;
BLI_addhead(&st->regiontypes, art);
node_toolbar_register(art);
BKE_spacetype_register(st);
}