Workbench: Wrong ENUM value for SINGLE color

Had to be "SINGLE", but was "SOLID" resulting in not showing the single
color option in the shader popover
This commit is contained in:
Jeroen Bakker 2018-06-26 18:19:53 +02:00
parent 6b0670951f
commit c817a89e73
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ const EnumPropertyItem rna_enum_viewport_lighting_items[] = {
};
static const EnumPropertyItem rna_enum_shading_color_type_items[] = {
{V3D_SHADING_SINGLE_COLOR, "SOLID", 0, "Single", "Show scene in a single color"},
{V3D_SHADING_SINGLE_COLOR, "SINGLE", 0, "Single", "Show scene in a single color"},
{V3D_SHADING_MATERIAL_COLOR, "MATERIAL", 0, "Material", "Show material color"},
{V3D_SHADING_RANDOM_COLOR, "RANDOM", 0, "Random", "Show random object color"},
{V3D_SHADING_TEXTURE_COLOR, "TEXTURE", 0, "Texture", "Show texture"},