From d192d723123add1dde3e9f7e9458aefcafb7e7d2 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 5 Jul 2018 15:30:56 +0200 Subject: Ensure dependency graph exists before initializing editors Will help entering sculpt mode on file load by making it possible to fully initialize sculpt session. The goal is to make sure PBVH exists since the very beginning of file open (missing PBVH is a reason why object is not visible before first stroke). This is not enough yet to fully solve the issue, since entering sculpt mode tags object for Copy-on-Write update, which frees PBVH. --- source/blender/windowmanager/wm_event_system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/windowmanager/wm_event_system.h') diff --git a/source/blender/windowmanager/wm_event_system.h b/source/blender/windowmanager/wm_event_system.h index b9b41b0b685..d191fe4a9c2 100644 --- a/source/blender/windowmanager/wm_event_system.h +++ b/source/blender/windowmanager/wm_event_system.h @@ -97,6 +97,7 @@ void wm_event_do_handlers (bContext *C); void wm_event_add_ghostevent (wmWindowManager *wm, wmWindow *win, int type, int time, void *customdata); +void wm_event_do_depsgraph(bContext *C); void wm_event_do_refresh_wm_and_depsgraph(bContext *C); void wm_event_do_notifiers(bContext *C); -- cgit v1.2.3