Blender Git Loki

Git Commits -> Revision 9b91da0

Revision 9b91da0 by Joshua Leung (master)
November 9, 2012, 06:36 (GMT)
Axis Colours are now Themeable

This commit allows you to set the RGB <-> XYZ axis colours used for things like
the mini axis indicator, grid axis indicators, manipulators, transform
constraint indicators, F-Curves (when using XYZ to RGB colouring option), and
perhaps something else I've missed. Previously, these places all used hardcoded
defines (220 * i/j/k), but the readability of these colours was often quite
poor, especially when used with certain themes.

The settings for these colours can be found under the "User Interface" section
of the themes (i.e. same set of colours is used across editors). I could have
made these per editor, but since it's unlikely that these will need to be too
different across editors in practice (+ being easier to version patch), they are
stored under the UI section.

Commit Details:

Full Hash: 9b91da0d0dea01ef74b317bdaeaf20d19cf7cfd0
SVN Revision: 52026
Parent Commit: 1369e29
Lines Changed: +95, -35

10 Modified Paths:

/release/scripts/startup/bl_ui/space_userpref.py (+23, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/editors/animation/anim_draw.c (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+5, -1) (Diff)
/source/blender/editors/interface/resources.c (+31, -12) (Diff)
/source/blender/editors/space_graph/space_graph.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+6, -10) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+4, -6) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+19, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021