Blender Git Commit Log

Git Commits -> Revision 6f80604

Revision 6f80604 by Julian Eisel (master)
September 21, 2016, 22:10 (GMT)
RNA/UI: Allow displaying in tooltip why RNA property isn't editable

This commit allows RNA properties to return additional info on their editable state which may then be displayed in tooltips. To show how it works, it also adds some info for the editable check of proxies. For generally un-editable properties or properties of a linked data-block, RNA returns default strings.

| {F362785} | {F362786} | {F362787} |

Reviewed by brecht, thanks!

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

Commit Details:

Full Hash: 6f806045093419a55b16c596dd8690ea0bbae138
Parent Commit: 9493e3b
Lines Changed: +79, -32

20 Modified Paths:

/source/blender/editors/interface/interface.c (+6, -5) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+43, -5) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_material.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+7, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_vfont.c (+1, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021