Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2022-01-04 05:52:20 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2022-01-04 05:52:20 +0300
commita9e0caa92d68bbfd1ef332b47e321fafda3e9975 (patch)
tree78809caa5934e34bd656a26c16c7c1268509ca10 /source/blender/nodes/shader/nodes/node_shader_map_range.cc
parentd2cc672b0c12287b4602e1c26fd9d75010df9558 (diff)
Cleanup: Move node storage macro inside file namespace
Must have been a mistake in previous commits, this fix is needed to enable unity builds.
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_map_range.cc')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_map_range.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_map_range.cc b/source/blender/nodes/shader/nodes/node_shader_map_range.cc
index adc931d1bd0..6373462a288 100644
--- a/source/blender/nodes/shader/nodes/node_shader_map_range.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_map_range.cc
@@ -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();