Nodes: use auto registration for nodes #110686

Merged
Jacques Lucke merged 29 commits from JacquesLucke/blender:auto-node-register into main 2023-08-09 22:01:10 +02:00
6 changed files with 3 additions and 11 deletions
Showing only changes of commit 48fd5c206a - Show all commits

View File

@ -8,6 +8,7 @@
extern bNodeTreeType *ntreeType_Geometry;
void register_node_tree_type_geo();
void register_node_type_geo_custom_group(bNodeType *ntype);
/* -------------------------------------------------------------------- */

View File

@ -194,7 +194,6 @@ set(SRC
node_geometry_tree.cc
node_geometry_util.cc
node_geometry_register.hh
node_geometry_util.hh
)

View File

@ -1,7 +0,0 @@
/* SPDX-FileCopyrightText: 2023 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
void register_node_tree_type_geo();

View File

@ -26,8 +26,6 @@
#include "node_common.h"
#include "node_geometry_register.hh"
bNodeTreeType *ntreeType_Geometry;
static void geometry_node_tree_get_from_context(

View File

@ -24,7 +24,6 @@
#include "RNA_access.h"
#include "node_geometry_register.hh"
#include "node_util.hh"
#ifdef WITH_OPENVDB

View File

@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#include "NOD_geometry.hh"
#include "NOD_register.hh"
#include "NOD_socket.hh"
@ -51,6 +52,7 @@ void register_nodes()
register_undefined_types();
register_standard_node_socket_types();
register_node_tree_type_geo();
register_node_type_frame();
register_node_type_reroute();