Blender Git Commit Log

Git Commits -> Revision 4041385

Revision 4041385 by Campbell Barton (master)
April 2, 2018, 15:34 (GMT)
Cleanup: remove redundant imbuf return values

Some functions always returned the input argument
which was never used.

This made code read as if there might be a leak.

Now return a boolean (true the imbuf is modified).

Commit Details:

Full Hash: 4041385ddd68460d4dd04825431c4e2495c0c2a9
Parent Commit: 888a04c
Lines Changed: +36, -29

3 Modified Paths:

/source/blender/imbuf/IMB_imbuf.h (+3, -3) (Diff)
/source/blender/imbuf/intern/scaling.c (+24, -16) (Diff)
/source/blender/imbuf/intern/writeimage.c (+9, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021