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:
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 607ec675a39..58bae1f5cc6 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -352,10 +352,10 @@ void deg_id_tag_update(Main *bmain, ID *id, int flag)
{
lib_id_recalc_tag_flag(bmain, id, flag);
LINKLIST_FOREACH(Scene *, scene, &bmain->scene) {
- LINKLIST_FOREACH(SceneLayer *, scene_layer, &scene->render_layers) {
+ LINKLIST_FOREACH(ViewLayer *, view_layer, &scene->view_layers) {
Depsgraph *depsgraph =
(Depsgraph *)BKE_scene_get_depsgraph(scene,
- scene_layer,
+ view_layer,
false);
if (depsgraph != NULL) {
deg_graph_id_tag_update(bmain, depsgraph, id, flag);
@@ -461,10 +461,10 @@ void DEG_graph_on_visible_update(Main *bmain, Depsgraph *depsgraph)
void DEG_on_visible_update(Main *bmain, const bool UNUSED(do_time))
{
LINKLIST_FOREACH(Scene *, scene, &bmain->scene) {
- LINKLIST_FOREACH(SceneLayer *, scene_layer, &scene->render_layers) {
+ LINKLIST_FOREACH(ViewLayer *, view_layer, &scene->view_layers) {
Depsgraph *depsgraph =
(Depsgraph *)BKE_scene_get_depsgraph(scene,
- scene_layer,
+ view_layer,
false);
if (depsgraph != NULL) {
DEG_graph_on_visible_update(bmain, depsgraph);