Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021