Blender Git Loki

Git Commits -> Revision 071cc71

Revision 071cc71 by Hans Goudey (master)
June 2, 2020, 18:09 (GMT)
Cleanup: Use const context for some UI templates

- uiTemplateID: Straightforward, just const for the template
and the functions it calls
- uiTemplateCacheFile: Create a function in rna_ui.c because
the generated RNA callback doesn't have const context.

Differential Revision: https://developer.blender.org/D7895

Commit Details:

Full Hash: 071cc71fb066dd39569e9c8c90ab7aed8d7b0eda
Parent Commit: dcdbcf1
Lines Changed: +28, -10

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -3) (Diff)
/source/blender/editors/interface/interface_templates.c (+8, -5) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+16, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021