diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-03 18:05:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-03 18:05:17 +0300 |
commit | f880b603537e3cb43f0e1b71aa51cb50724dae2c (patch) | |
tree | cc8bfb3bed3a76d04459cbf2b8750cfb692557b7 /source | |
parent | 95be6826e3967caf26d577eba957153f86a0eb2d (diff) |
Depsgraph: Add missing cache file handling in build_id()
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 3 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 1485079c418..55de6110b3b 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -485,6 +485,9 @@ void DepsgraphNodeBuilder::build_id(ID *id) case ID_TXT: /* Not a part of dependency graph. */ break; + case ID_CF: + build_cachefile((CacheFile *)id); + break; default: fprintf(stderr, "Unhandled ID %s\n", id->name); BLI_assert(!"Should never happen"); diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index 8af6b2f3a97..b45d25d4b70 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -497,6 +497,9 @@ void DepsgraphRelationBuilder::build_id(ID *id) case ID_TXT: /* Not a part of dependency graph. */ break; + case ID_CF: + build_cachefile((CacheFile *)id); + break; default: fprintf(stderr, "Unhandled ID %s\n", id->name); BLI_assert(!"Should never happen"); |