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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-02 14:04:19 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-07 14:18:15 +0300
commitd9c5f0d25fc91b069158ae1ab4fddc21bfd85846 (patch)
tree18f55163c5b06385d055d5a79a4c653d3da6e595 /intern/cycles/graph
parent46c9872afaa8053f8b2894c038402b1beb3ac66c (diff)
Cleanup: split Cycles Hair and Mesh classes, with Geometry base class
Diffstat (limited to 'intern/cycles/graph')
-rw-r--r--intern/cycles/graph/node_type.h8
1 files changed, 4 insertions, 4 deletions
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<typename T> const NodeType *structname::register_type()
#define NODE_ABSTRACT_DECLARE \
- template<typename T> static const NodeType *register_type(); \
- static const NodeType *node_type;
+ template<typename T> 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<structname>(); \
- template<typename T> const NodeType *structname::register_type()
+ const NodeType *structname::node_base_type = structname::register_base_type<structname>(); \
+ template<typename T> const NodeType *structname::register_base_type()
/* Sock Definition Macros */