[Bf-blender-cvs] [c817a89e738] blender2.8: Workbench: Wrong ENUM value for SINGLE color
Jeroen Bakker
noreply at git.blender.org
Tue Jun 26 18:21:06 CEST 2018
Commit: c817a89e73891307c2a04e75d0968d49be0e6c29
Author: Jeroen Bakker
Date: Tue Jun 26 18:19:53 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc817a89e73891307c2a04e75d0968d49be0e6c29
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
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 68af5795d49..decd0736209 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -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"},
More information about the Bf-blender-cvs
mailing list