Blender Git Commit Log

Git Commits -> Revision a8f9a24

Revision a8f9a24 by Campbell Barton (master)
November 13, 2020, 09:32 (GMT)
Cleanup: use IMB_FTYPE_NONE instead of 0 for imbuf format comparison

Image format code checked the file type against an enum except for
zero which is used when the format can't be detected.

Also add doc-strings to some of the image file type callbacks.

Commit Details:

Full Hash: a8f9a2493915bf9384553b3933593a5296e70a1c
Parent Commit: 4a3b26d
Lines Changed: +28, -10

7 Modified Paths:

/source/blender/blenkernel/intern/image.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+2, -2) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+5, -2) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+14, -0) (Diff)
/source/blender/imbuf/intern/util.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021