diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-21 13:33:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-21 13:35:10 +0300 |
commit | 5df49500731a4d36230477e82b45278902437ded (patch) | |
tree | 06f0c0af2d0ca7024309907b85cfd6ab86c93c3a /source/blender/depsgraph/intern/nodes/deg_node.h | |
parent | f6b2fbb02922e9c303b95ffbdd93cd047a640338 (diff) |
Depsgraph: Cleanup, move implementation away from header
Diffstat (limited to 'source/blender/depsgraph/intern/nodes/deg_node.h')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.h b/source/blender/depsgraph/intern/nodes/deg_node.h index 05c787fba11..b303b5ba010 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node.h +++ b/source/blender/depsgraph/intern/nodes/deg_node.h @@ -91,17 +91,7 @@ struct DepsNode { virtual OperationDepsNode *get_entry_operation() { return NULL; } virtual OperationDepsNode *get_exit_operation() { return NULL; } - virtual eDepsNode_Class get_class() const { - if (type == DEG_NODE_TYPE_OPERATION) { - return DEG_NODE_CLASS_OPERATION; - } - else if (type < DEG_NODE_TYPE_PARAMETERS) { - return DEG_NODE_CLASS_GENERIC; - } - else { - return DEG_NODE_CLASS_COMPONENT; - } - } + virtual eDepsNode_Class get_class() const; }; /* Macros for common static typeinfo. */ |