Depsgraph: Add missing cache file handling in build_id()

This commit is contained in:
2018-12-03 16:05:17 +01:00
parent 95be6826e3
commit f880b60353
2 changed files with 6 additions and 0 deletions

View File

@@ -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");

View File

@@ -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");