Blender Git Loki

Git Commits -> Revision 2dcf99f

Revision 2dcf99f by Campbell Barton
April 16, 2018, 09:20 (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: 2dcf99fcc6bae6f7bf3c44ee0f4addb0a51ae228
Parent Commit: b0de629
Committed By: Gaia Clary
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