Blender Git Commit Log

Git Commits -> Revision 57b624d

Revision 57b624d by Julian Eisel (soc-2016-layer_manager)
June 22, 2016, 00:36 (GMT)
Wireframe/outline color from layer color-set

This commit makes wireframe/outline drawing of objects use the color-set of the highest layer in the hierarchy. This is an example of how a render engine (viewport in this case) can make use of the custom layer properties.
A local 3D View toggle allows quick toggling of the wireframe/outline colors.

On the general topic of custom wireframe colors: The layer based coloring makes it easy for users to assign colors that have meaning and are not just arbitrary choices. I discussed this with Ton, Sebastian K�nig and others before, we all agreed that this is a pretty sane solution.
Also note that the colors are based on theme settings, which was a requirenment to avoid theme contrast issues.

Based on P158 by @campbellbarton.

Commit Details:

Full Hash: 57b624d85c5795cd7d3d05482e2d64391c8698f6
Parent Commit: 6b591cd
Lines Changed: +98, -8

8 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/object_layer.c (+28, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+19, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+36, -6) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021