Cleanup: Move node storage macro inside file namespace

Must have been a mistake in previous commits,
this fix is needed to enable unity builds.
This commit is contained in:
Aaron Carlisle 2022-01-03 21:52:20 -05:00
parent d2cc672b0c
commit a9e0caa92d
3 changed files with 6 additions and 6 deletions

View File

@ -29,10 +29,10 @@
#include "NOD_socket_search_link.hh"
NODE_STORAGE_FUNCS(NodeMapRange)
namespace blender::nodes::node_shader_map_range_cc {
NODE_STORAGE_FUNCS(NodeMapRange)
static void sh_node_map_range_declare(NodeDeclarationBuilder &b)
{
b.is_function_node();

View File

@ -21,10 +21,10 @@
#include "BLI_noise.hh"
NODE_STORAGE_FUNCS(NodeTexMusgrave)
namespace blender::nodes::node_shader_tex_musgrave_cc {
NODE_STORAGE_FUNCS(NodeTexMusgrave)
static void sh_node_tex_musgrave_declare(NodeDeclarationBuilder &b)
{
b.is_function_node();

View File

@ -21,10 +21,10 @@
#include "BLI_noise.hh"
NODE_STORAGE_FUNCS(NodeTexNoise)
namespace blender::nodes::node_shader_tex_noise_cc {
NODE_STORAGE_FUNCS(NodeTexNoise)
static void sh_node_tex_noise_declare(NodeDeclarationBuilder &b)
{
b.is_function_node();