Blender Git Commit Log

Git Commits -> Revision 2ce94cc

Revision 2ce94cc by Sergey Sharybin (master)
May 1, 2018, 08:14 (GMT)
Fix crash opening files saved in sculpt/vertex paint modes

Skip access to any evaluated data when operator is run on file load,
we don't have depsgraph evaluated yet. In this case we skip part of
sculpt session initialization, since it will be done during depsgraph
evaluation which happens after DEG_on_visible_update().

We can not skip sculpt session initialization since during normal
operation we want all the data to be initialized on mode change,
and not on initial brush stroke.

Commit Details:

Full Hash: 2ce94cc24b2ce5fdb89ae5d503aaabe22687e285
Parent Commit: af508a1
Lines Changed: +23, -2

5 Modified Paths:

/source/blender/blenkernel/BKE_context.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+7, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+9, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021