Move all header file into namespace. Unnecessary namespaces was removed from implementations file. Part of forward declarations in header was moved in the top part of file just to do not have a lot of separate namespaces. Pull Request: https://projects.blender.org/blender/blender/pulls/121637
18 lines
449 B
C++
18 lines
449 B
C++
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "BKE_node.hh"
|
|
|
|
extern blender::bke::bNodeTreeType *ntreeType_Geometry;
|
|
|
|
void register_node_tree_type_geo();
|
|
void register_node_type_geo_custom_group(blender::bke::bNodeType *ntype);
|
|
|
|
/**
|
|
* Returns true if the socket is a Named Layer Selection field.
|
|
*/
|
|
bool is_layer_selection_field(const bNodeTreeInterfaceSocket &socket);
|