diff options
Diffstat (limited to 'source/blender')
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl b/source/blender/draw/engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl index 33b249ac09b..e7b38d092af 100644 --- a/source/blender/draw/engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl +++ b/source/blender/draw/engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl @@ -10,7 +10,7 @@ out vec4 FragColor; #define MODE_GRAYSCALE 0 #define MODE_SEPIA 1 -#define MODE_BITONE 2 +#define MODE_DUALTONE 2 #define MODE_CUSTOM 3 #define MODE_TRANSPARENT 4 @@ -48,7 +48,7 @@ void main() outcolor = vec4(Red, Green, Blue, src_pixel.a); break; } - case MODE_BITONE: + case MODE_DUALTONE: { if (luminance <= factor) { outcolor = low_color; diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h index d65e0bd6126..96b114dd365 100644 --- a/source/blender/makesdna/DNA_shader_fx_types.h +++ b/source/blender/makesdna/DNA_shader_fx_types.h @@ -115,7 +115,7 @@ typedef struct ColorizeShaderFxData { typedef enum ColorizeShaderFxModes { eShaderFxColorizeMode_GrayScale = 0, eShaderFxColorizeMode_Sepia = 1, - eShaderFxColorizeMode_BiTone = 2, + eShaderFxColorizeMode_DualTone = 2, eShaderFxColorizeMode_Custom = 3, eShaderFxColorizeMode_Transparent = 4, } ColorizeShaderFxModes; diff --git a/source/blender/makesrna/intern/rna_shader_fx.c b/source/blender/makesrna/intern/rna_shader_fx.c index 8b479e9f05a..2f0a4a4be7d 100644 --- a/source/blender/makesrna/intern/rna_shader_fx.c +++ b/source/blender/makesrna/intern/rna_shader_fx.c @@ -77,7 +77,7 @@ static const EnumPropertyItem rna_enum_shaderfx_glow_modes_items[] = { static const EnumPropertyItem rna_enum_shaderfx_colorize_modes_items[] = { {eShaderFxColorizeMode_GrayScale, "GRAYSCALE", 0, "Gray Scale", "" }, {eShaderFxColorizeMode_Sepia, "SEPIA", 0, "Sepia", "" }, - {eShaderFxColorizeMode_BiTone, "BITONE", 0, "Bi-Tone", "" }, + {eShaderFxColorizeMode_DualTone, "DUALTONE", 0, "Dualtone", "" }, {eShaderFxColorizeMode_Transparent, "TRANSPARENT", 0, "Transparent", "" }, {eShaderFxColorizeMode_Custom, "CUSTOM", 0, "Custom", "" }, {0, NULL, 0, NULL, NULL } |