Blender Git Loki

Git Commits -> Revision 35c3644

Revision 35c3644 by Philipp Oeser (master)
November 26, 2021, 13:24 (GMT)
Fix T93117: Texture paint clone tool crash in certain situation

Caused by {rBaf162658e127}, so long standing bug.

When changing clone slots (report involved a quite complicated sequence
of selecting textures and undo -- but I think this could happen in more
situations) code checks for UV of new clone slot.
However, since above commit the slot and the clone slot were mixed up,
so in this case the responsible NULL check (for when no UV is assigned)
wasnt working.
Now correct this (NULL check the clone slot uv -- instead of the paint
slot UV).

note: not sure why low level CustomData functions actually dont do the
name NULL checks themselves (seems like callers are always responsible).

Maniphest Tasks: T93117

Differential Revision: https://developer.blender.org/D13378

Commit Details:

Full Hash: 35c3644e78d37c2413f6a239348fb5ff7d59a647
Parent Commit: 6334286
Lines Changed: +3, -2

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_image_proj.c (+3, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021