diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 17:42:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-23 17:42:37 +0300 |
commit | 53d69e6d048f918b2c9ee61d3e9f27db64fdfa52 (patch) | |
tree | bca3d93b8266df10f90019cbf7b070e547c8bd03 /source/blender/depsgraph/intern/depsgraph.h | |
parent | 0ca7a78f20db6f34bf158f671fc5bbc32ee5702c (diff) |
Depsgraph: Add relation flag to avoid flush across it
This way we can avoid re-evaluation of certain parts of datablock
when something unrelated has changed.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h index f742587e19f..dda4da7bc13 100644 --- a/source/blender/depsgraph/intern/depsgraph.h +++ b/source/blender/depsgraph/intern/depsgraph.h @@ -63,6 +63,8 @@ typedef enum eDepsRelation_Flag { * which triggers a cyclic relationship to exist in the graph. */ DEPSREL_FLAG_CYCLIC = (1 << 0), + /* Update flush will not go through this relation. */ + DEPSREL_FLAG_NO_FLUSH = (1 << 1), } eDepsRelation_Flag; /* B depends on A (A -> B) */ |