diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-03 15:35:42 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-03 16:20:06 +0300 |
commit | d57cb8fa22eb757e0960cb1336f00e495519a939 (patch) | |
tree | 0b8c3267b56524233f36c766a80a3d17c5523d4d /source/blender/depsgraph/intern/nodes/deg_node.h | |
parent | e152483a320d2da88199697da02ddb2befc73778 (diff) |
Depsgraph: Use more meaningful name for flags storage
Diffstat (limited to 'source/blender/depsgraph/intern/nodes/deg_node.h')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.h b/source/blender/depsgraph/intern/nodes/deg_node.h index 603a6be7ceb..ef2a73258fd 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node.h +++ b/source/blender/depsgraph/intern/nodes/deg_node.h @@ -80,9 +80,15 @@ struct DepsNode { eDepsNode_Type type; /* Structural type of node. */ Relations inlinks; /* Nodes which this one depends on. */ Relations outlinks; /* Nodes which depend on this one. */ - int done; /* Generic tags for traversal algorithms. */ Stats stats; /* Evaluation statistics. */ + /* Generic tags for traversal algorithms and such. + * + * Actual meaning of values depends on a specific area. Every area is to + * clean this before use. + */ + int custom_flags; + /* Methods. */ DepsNode(); virtual ~DepsNode(); |