Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-06-01 17:44:24 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-02 00:54:36 +0300
commit071315e21bfec253639237e1244f0cc9b3f31812 (patch)
tree94ef1d114a055f8199a5de824b5ff174ad2226e4 /source/blender/depsgraph/intern
parent46fc0bb87ebda166d08b23cbcca799acb2c54158 (diff)
DEG: Add per object update flag for Depsgraph.
This is in order to communicate what portion of this object has changed. For now it's just a bool, but it will be extended later.
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_flush.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
index 34abbf46ed7..46b70c40b78 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
@@ -191,6 +191,9 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
object->recalc |= OB_RECALC_DATA;
break;
}
+
+ /* TODO : replace with more granular flags */
+ object->deg_update_flag |= DEG_RUNTIME_DATA_UPDATE;
}
}