diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-07-05 15:43:43 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-07-05 18:58:27 +0300 |
commit | eb48eeba8414b77463319236ae9e8ae19d74c4c9 (patch) | |
tree | 00a802b3fae7e78cffc5fa298a76e58205a63bc5 /source/blender/makesrna/intern/rna_internal.h | |
parent | bdeeb29482af2ab44e03e4681eb079bdcff82b21 (diff) |
Expose rna_translate_ui_text to be used for interface templates
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r-- | source/blender/makesrna/intern/rna_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h index 7b8073d80b8..7a5d3613cff 100644 --- a/source/blender/makesrna/intern/rna_internal.h +++ b/source/blender/makesrna/intern/rna_internal.h @@ -420,6 +420,8 @@ void rna_mtex_texture_slots_clear(struct ID *self, struct bContext *C, struct Re int rna_IDMaterials_assign_int(struct PointerRNA *ptr, int key, const struct PointerRNA *assign_ptr); +const char *rna_translate_ui_text( + const char *text, const char *text_ctxt, struct StructRNA *type, struct PropertyRNA *prop, int translate); /* Internal functions that cycles uses so we need to declare (tsk tsk) */ void rna_RenderLayer_rect_set(PointerRNA *ptr, const float *values); |