Blender Git Loki

Git Commits -> Revision 2f367db

Revision 2f367db by Sybren A. Stüvel (master)
April 13, 2021, 11:14 (GMT)
Cleanup: preview rendering, push bContext a bit further down the call stack

Pass `bContext *C` a bit further down the call stack, to prevent
exploding the number of parameters of `ED_preview_icon_render()`. An
upcoming change will require access to yet another context member, and
this can now be done without adding yet another parameter.

No functional changes.

Commit Details:

Full Hash: 2f367db2cc638e47aa1c6644082070c290a8532d
Parent Commit: 5b08cba
Lines Changed: +5, -12

3 Modified Paths:

/source/blender/editors/include/ED_render.h (+1, -2) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -7) (Diff)
/source/blender/editors/render/render_preview.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021