Depsgraph: Use depsgraph to handle edit mode selection

This is crucial bit since batch cache is stored in the evaluated object,
meaning we can't tag it's hatch cache dirty from the notifier system.
Not easily at least. Better to leave this job to depsgraph, it knows
all the copies of data.
This commit is contained in:
2017-11-23 16:03:44 +01:00
parent 0f5ef668da
commit a5d763a11e
13 changed files with 90 additions and 30 deletions

View File

@@ -162,6 +162,7 @@ struct ComponentDepsNode : public DepsNode {
}
DEG_COMPONENT_DECLARE_GENERIC(Animation);
DEG_COMPONENT_DECLARE_GENERIC(BatchCache);
DEG_COMPONENT_DECLARE_GENERIC(Cache);
DEG_COMPONENT_DECLARE_GENERIC(CopyOnWrite);
DEG_COMPONENT_DECLARE_GENERIC(Geometry);