Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_event_system.c
| Show First 20 Lines • Show All 374 Lines • ▼ Show 20 Lines | LISTBASE_FOREACH (wmWindow *, win, &wm->windows) { | ||||
| /* TODO(sergey): For now all dependency graphs which are evaluated from | /* TODO(sergey): For now all dependency graphs which are evaluated from | ||||
| * workspace are considered active. This will work all fine with "locked" | * workspace are considered active. This will work all fine with "locked" | ||||
| * view layer and time across windows. This is to be granted separately, | * view layer and time across windows. This is to be granted separately, | ||||
| * and for until then we have to accept ambiguities when object is shared | * and for until then we have to accept ambiguities when object is shared | ||||
| * across visible view layers and has overrides on it. | * across visible view layers and has overrides on it. | ||||
| */ | */ | ||||
| Depsgraph *depsgraph = BKE_scene_ensure_depsgraph(bmain, scene, view_layer); | Depsgraph *depsgraph = BKE_scene_ensure_depsgraph(bmain, scene, view_layer); | ||||
| if (is_after_open_file) { | if (is_after_open_file) { | ||||
| /* TODO(sergey): Remove after the handling of visibility tags is delayed until graph | DEG_graph_tag_on_visible_update(depsgraph, true); | ||||
JacquesLucke: Isn't this what you did in this patch? Can you remove it now? | |||||
| * evaluation. */ | |||||
| DEG_graph_relations_update(depsgraph); | |||||
| DEG_graph_tag_on_visible_update(bmain, depsgraph, true); | |||||
| } | } | ||||
| DEG_make_active(depsgraph); | DEG_make_active(depsgraph); | ||||
| BKE_scene_graph_update_tagged(depsgraph, bmain); | BKE_scene_graph_update_tagged(depsgraph, bmain); | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| * Was part of #wm_event_do_notifiers, | * Was part of #wm_event_do_notifiers, | ||||
| ▲ Show 20 Lines • Show All 4,915 Lines • Show Last 20 Lines | |||||
Isn't this what you did in this patch? Can you remove it now?