Blender Git Commit Log

Git Commits -> Revision e977fe9

Revision e977fe9 by Sergey Sharybin (master)
July 27, 2018, 08:18 (GMT)
Cycles: Cleanup in image manager, switch statement instead of if-else

Allows to catch enumerator values which are missing from being handled.

Also use `const char*`, no need to construct string just to throw it away.

Commit Details:

Full Hash: e977fe985f019b7b28c022ffb0ca8fb37f6418ee
Parent Commit: fe8d8aa
Lines Changed: +19, -19

2 Modified Paths:

/intern/cycles/render/image.cpp (+18, -18) (Diff)
/intern/cycles/render/image.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021