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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-07-04 15:50:59 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-05 17:06:12 +0300
commit03ac94f46abf9007f1ac2cd66805d3aab9aa4178 (patch)
tree38c03ff24137db9bbc6a98798e020bdaee4050d8 /source/blender/depsgraph/intern/node/deg_node.h
parentea05edceaa3347e7b847e47862effdab9b42498a (diff)
Depsgraph: Add inverse of node type conversion functions
Diffstat (limited to 'source/blender/depsgraph/intern/node/deg_node.h')
-rw-r--r--source/blender/depsgraph/intern/node/deg_node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h
index 5bb9b7fe9ce..3ebc5ec8125 100644
--- a/source/blender/depsgraph/intern/node/deg_node.h
+++ b/source/blender/depsgraph/intern/node/deg_node.h
@@ -133,7 +133,10 @@ enum class NodeType {
const char *nodeTypeAsString(NodeType type);
NodeType nodeTypeFromSceneComponent(eDepsSceneComponentType component);
+eDepsSceneComponentType nodeTypeToSceneComponent(NodeType type);
+
NodeType nodeTypeFromObjectComponent(eDepsObjectComponentType component);
+eDepsObjectComponentType nodeTypeToObjectComponent(NodeType type);
/* All nodes in Depsgraph are descended from this. */
struct Node {