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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-07-05 16:30:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-07-05 17:56:47 +0300
commitd192d723123add1dde3e9f7e9458aefcafb7e7d2 (patch)
treec4ff3c2393bc36ca25f869483c8ab35c1fe14798 /source/blender/windowmanager/wm_event_system.h
parentc1678a3723471fe2345c23afb439f6aa8d1a6ef5 (diff)
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.
Diffstat (limited to 'source/blender/windowmanager/wm_event_system.h')
-rw-r--r--source/blender/windowmanager/wm_event_system.h1
1 files changed, 1 insertions, 0 deletions
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);