Blender Git Commit Log

Git Commits -> Revision a29283f

Revision a29283f by Philipp Oeser (blender-v2.93-release)
November 28, 2021, 15:37 (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: a29283f43a6933726ed10ffaa3821241b219261a
Parent Commit: c2971ee
Lines Changed: +3, -2

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_image_proj.c (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021