Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/node/deg_node_time.cc
| Show All 25 Lines | |||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "intern/depsgraph.h" | #include "intern/depsgraph.h" | ||||
| #include "intern/depsgraph_relation.h" | #include "intern/depsgraph_relation.h" | ||||
| namespace blender { | namespace blender { | ||||
| namespace deg { | namespace deg { | ||||
| void TimeSourceNode::tag_update(Depsgraph *graph, eUpdateSource /*source*/) | void TimeSourceNode::tag_update(Depsgraph * /*graph*/, eUpdateSource /*source*/) | ||||
| { | { | ||||
| for (Relation *rel : outlinks) { | tagged_for_update = true; | ||||
| Node *node = rel->to; | |||||
| node->tag_update(graph, DEG_UPDATE_SOURCE_TIME); | |||||
| } | |||||
| } | } | ||||
| } // namespace deg | } // namespace deg | ||||
| } // namespace blender | } // namespace blender | ||||