Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021