Blender  V3.3
deg_node_time.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2013 Blender Foundation. All rights reserved. */
3 
9 
10 #include "DNA_scene_types.h"
11 
12 #include "intern/depsgraph.h"
14 
15 namespace blender::deg {
16 
17 void TimeSourceNode::tag_update(Depsgraph * /*graph*/, eUpdateSource /*source*/)
18 {
19  tagged_for_update = true;
20 }
21 
23 {
24  if (!tagged_for_update) {
25  return;
26  }
27  for (Relation *rel : outlinks) {
28  Node *node = rel->to;
29  node->tag_update(graph, DEG_UPDATE_SOURCE_TIME);
30  }
31 }
32 
33 } // namespace blender::deg
OperationNode * node
Depsgraph * graph
Relations outlinks
Definition: deg_node.h:174
void flush_update_tag(Depsgraph *graph)
virtual void tag_update(Depsgraph *graph, eUpdateSource source) override