diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-06-21 15:05:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-06-22 10:52:45 +0300 |
commit | d3a792431e6a71d23ea0916294b197003a8e2367 (patch) | |
tree | d0fd58c9103fe54c6dab66bd22582dd5afffd589 /source/blender/windowmanager/intern | |
parent | 53ba9f01e2e7e4efb25143ec45950eaecbe1317f (diff) |
Cleanup: Use more clear visibility tag function name
No functional changes. Just makes it clear this is not an immediate
update, and will make an upcoming change more localized.
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 43d4859945d..7639f4a3d23 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -380,8 +380,10 @@ void wm_event_do_depsgraph(bContext *C, bool is_after_open_file) */ Depsgraph *depsgraph = BKE_scene_ensure_depsgraph(bmain, scene, view_layer); if (is_after_open_file) { + /* TODO(sergey): Remove after the handling of visibility tags is delayed until graph + * evaluation. */ DEG_graph_relations_update(depsgraph); - DEG_graph_on_visible_update(bmain, depsgraph, true); + DEG_graph_tag_on_visible_update(bmain, depsgraph, true); } DEG_make_active(depsgraph); BKE_scene_graph_update_tagged(depsgraph, bmain); |