Blender Git Loki
Git Commits -> Revision 236be8e
Revision 236be8e by Philipp Oeser (master) November 26, 2021, 10:46 (GMT) |
Fix T93380: Texture paint clone tool crash without clone image This was crashing using the clone tool without a clone image assigned. Caused by {rB9111ea78acf4}. Since above commit, `BKE_image_acquire_ibuf` was using `ima->runtime` without checking for NULL first. Since callers are not required to check for this, just return early here. note: there is still a memory leak using the clone tool without a clone image assigned (but this was also the case before said commit and needs to be investigated separately). Maniphest Tasks: T93380 Differential Revision: https://developer.blender.org/D13377 |
Commit Details:
Full Hash: 236be8e9f1c92fe47fee9af72dad752f3a5452ee
Parent Commit: dcc500e
Lines Changed: +5, -1
1 Modified Path:
/source/blender/blenkernel/intern/image.c (+5, -1) (Diff)