Blender Git Commit Log
Git Commits -> Revision 8f3a7d7
December 19, 2020, 04:00 (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: 8f3a7d7f3ec0e0be77a24d00737c45614bbe6dd6
Parent Commit: eca1309
Committed By: YimingWu
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)
/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)