From d9c5f0d25fc91b069158ae1ab4fddc21bfd85846 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 2 Feb 2020 12:04:19 +0100 Subject: Cleanup: split Cycles Hair and Mesh classes, with Geometry base class --- intern/cycles/graph/node_type.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'intern/cycles/graph') diff --git a/intern/cycles/graph/node_type.h b/intern/cycles/graph/node_type.h index a4461ec7abb..a79d44b82f3 100644 --- a/intern/cycles/graph/node_type.h +++ b/intern/cycles/graph/node_type.h @@ -153,12 +153,12 @@ struct NodeType { template const NodeType *structname::register_type() #define NODE_ABSTRACT_DECLARE \ - template static const NodeType *register_type(); \ - static const NodeType *node_type; + template static const NodeType *register_base_type(); \ + static const NodeType *node_base_type; #define NODE_ABSTRACT_DEFINE(structname) \ - const NodeType *structname::node_type = structname::register_type(); \ - template const NodeType *structname::register_type() + const NodeType *structname::node_base_type = structname::register_base_type(); \ + template const NodeType *structname::register_base_type() /* Sock Definition Macros */ -- cgit v1.2.3