3D View: add object color drawing option
authorCampbell Barton <ideasman42@gmail.com>
Fri, 21 Dec 2018 00:40:47 +0000 (11:40 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 21 Dec 2018 00:45:01 +0000 (11:45 +1100)
commit9dde3e42a7c5bc5f7896fd30e2b3a5859d6857bf
tree11a429ba243ab47e526b7a9dbae5b3527edcb0c3
parentc8dfe763e521925c59522dc0abe0539727052807
3D View: add object color drawing option

Has some advantages over existing options.

- Using material links color to rendering with no way to vary colors
  if objects share a material.
- Random gives no control, objects may randomly have the same color,
  duplicating an object often changes it's color.
release/scripts/startup/bl_ui/space_view3d.py
source/blender/draw/engines/workbench/workbench_deferred.c
source/blender/draw/engines/workbench/workbench_forward.c
source/blender/draw/engines/workbench/workbench_materials.c
source/blender/makesdna/DNA_view3d_types.h
source/blender/makesrna/intern/rna_space.c