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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user