Blender Git Loki
Git Commits -> Revision 454b787
Revision 454b787 by Campbell Barton (master) November 13, 2020, 00:28 (GMT) |
Cleanup: remove unnecessary ImFileType.ftype callback This callback made some sense before moving the file-type information from a bit-flag to an enum: e142ae77cadf04103fbc643f21cf60891862f6a8 Since then, we can compare the type value directly. Also replace loops over file types with IMB_file_type_from_{ibuf/ftype}. |
Commit Details:
Full Hash: 454b7876ff18c5103cad7d1ebc4e7bef5b1bff4b
Parent Commit: ac299bb
Lines Changed: +45, -61
6 Modified Paths:
/source/blender/imbuf/intern/colormanagement.c (+9, -16) (Diff)
/source/blender/imbuf/intern/filetype.c (+16, -24) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+3, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+3, -3) (Diff)
/source/blender/imbuf/intern/util.c (+11, -13) (Diff)
/source/blender/imbuf/intern/writeimage.c (+3, -4) (Diff)
/source/blender/imbuf/intern/filetype.c (+16, -24) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+3, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+3, -3) (Diff)
/source/blender/imbuf/intern/util.c (+11, -13) (Diff)
/source/blender/imbuf/intern/writeimage.c (+3, -4) (Diff)