diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-29 13:01:07 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-29 13:07:48 +0300 |
commit | d4ac65d003244db4368222f52fbc8fad1cf9a788 (patch) | |
tree | 4c6e025067e995d1cf25921ca20d771d4bd2722d /source/blender/makesrna | |
parent | 643259415dc5eea78bfac0fbaa5b148b39932a17 (diff) |
Cleanup: use same 'depsgraph' name everywhere outside of DEG space.
'graph' is waaaayyyyy too generic name outside of DEG context, and
better try to use same name everywhere!
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_layer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c index 8dc4f8c5e7b..e7efdc27647 100644 --- a/source/blender/makesrna/intern/rna_layer.c +++ b/source/blender/makesrna/intern/rna_layer.c @@ -165,9 +165,9 @@ static void rna_LayerObjects_selected_begin(CollectionPropertyIterator *iter, Po static void rna_ViewLayer_update_tagged(ViewLayer *UNUSED(view_layer), bContext *C) { - Depsgraph *graph = CTX_data_depsgraph(C); + Depsgraph *depsgraph = CTX_data_depsgraph(C); DEG_OBJECT_ITER_BEGIN( - graph, ob, DEG_ITER_OBJECT_MODE_VIEWPORT, + depsgraph, ob, DEG_ITER_OBJECT_MODE_VIEWPORT, DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | DEG_ITER_OBJECT_FLAG_LINKED_INDIRECTLY | |