[Bf-blender-cvs] [f880b603537] blender2.8: Depsgraph: Add missing cache file handling in build_id()

Sergey Sharybin noreply at git.blender.org
Mon Dec 3 16:05:34 CET 2018


Commit: f880b603537e3cb43f0e1b71aa51cb50724dae2c
Author: Sergey Sharybin
Date:   Mon Dec 3 16:05:17 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBf880b603537e3cb43f0e1b71aa51cb50724dae2c

Depsgraph: Add missing cache file handling in build_id()

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
M	source/blender/depsgraph/intern/builder/deg_builder_relations.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list