diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 03:40:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 03:45:01 +0300 |
commit | 9dde3e42a7c5bc5f7896fd30e2b3a5859d6857bf (patch) | |
tree | 11a429ba243ab47e526b7a9dbae5b3527edcb0c3 /source/blender/makesdna | |
parent | c8dfe763e521925c59522dc0abe0539727052807 (diff) |
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.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 336dbec214b..72c9be2c12c 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -405,6 +405,7 @@ enum { V3D_SHADING_RANDOM_COLOR = 1, V3D_SHADING_SINGLE_COLOR = 2, V3D_SHADING_TEXTURE_COLOR = 3, + V3D_SHADING_OBJECT_COLOR = 4, }; /* View3DShading->background_type */ |