Blender Git Commit Log

Git Commits -> Revision c5767a2

Revision c5767a2 by Julian Eisel (master)
December 10, 2019, 15:00 (GMT)
Fix T71995: Texture Paint workspace crash with new scene

Issue likely caused by 8b31f6fb2169.

With this, initializing the toolsystem (e.g. for a new workspace-scene
combination) would skip the entire create->initialize routine for
image/texture painting settings. Reason being that these are not
allocated, unlike other paint settings. So while correctly skipping the
create part, it also skipped the initialization, which was still needed.

This does further changes in related code to avoid NULL pointer
accesses.

Commit Details:

Full Hash: c5767a24b9eeb167995c425cc76597c103caf7db
Parent Commit: 4d0643a
Lines Changed: +37, -17

3 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+33, -15) (Diff)
/source/blender/blenkernel/intern/paint_toolslots.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021