Blender Git Loki

Git Commits -> Revision e6cd9ea

Revision e6cd9ea by Bastien Montagne (master)
February 8, 2013, 14:29 (GMT)
RNA ui API: fix long-standing annoying glitches when using 'text' property of UI functions:
* No context-aware at all.
* Always translated (when i18n was enabled).

Now, it will try tu use RNA struct/property context if available, unless you specify a context within optional "text_ctxt" parameter.

And you can prevent translation by setting 'translate' parameter to False (is True by default).

Will clean up code in a later commit (remove PROP_STRING_PY_TRANSLATE flag and related code), and also fix uilist templates to translate no more materials/textures/etc. names!

Commit Details:

Full Hash: e6cd9ea087d7bc5e027d67fc328014b604fbe25d
SVN Revision: 54390
Parent Commit: 66e160d
Lines Changed: +185, -17

2 Modified Paths:

/source/blender/makesrna/intern/rna_ui_api.c (+184, -17) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021