Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-10-06 18:25:38 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-10-06 18:25:38 +0300
commitdc93235797d12f3793646570ef61e07eb4ec1c2b (patch)
tree88166a79e65f982d53b9495b646c39c88fe04e03
parent6942f05848ee12b3c47dd9e748c50e2013d4304e (diff)
GPencil: Use new icons for Envelope and Outline modifiers
Before both modifiers were using Skin icon.
-rw-r--r--source/blender/makesrna/intern/rna_gpencil_modifier.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index bbc7ce0d896..4a36443ca42 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -82,7 +82,7 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
"Generate dot-dash styled strokes"},
{eGpencilModifierType_Envelope,
"GP_ENVELOPE",
- ICON_MOD_SKIN,
+ ICON_MOD_ENVELOPE,
"Envelope",
"Create an envelope shape"},
{eGpencilModifierType_Length,
@@ -107,7 +107,7 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
"Produce multiple strokes along one stroke"},
{eGpencilModifierType_Outline,
"GP_OUTLINE",
- ICON_MOD_SKIN,
+ ICON_MOD_OUTLINE,
"Outline",
"Convert stroke to perimeter"},
{eGpencilModifierType_Simplify,
@@ -2139,8 +2139,7 @@ static void rna_def_modifier_gpenciloutline(BlenderRNA *brna)
srna = RNA_def_struct(brna, "OutlineGpencilModifier", "GpencilModifier");
RNA_def_struct_ui_text(srna, "Outline Modifier", "Outline of Strokes modifier from camera view");
RNA_def_struct_sdna(srna, "OutlineGpencilModifierData");
- // TODO: add new icon
- RNA_def_struct_ui_icon(srna, ICON_MOD_SKIN);
+ RNA_def_struct_ui_icon(srna, ICON_MOD_OUTLINE);
RNA_define_lib_overridable(true);
@@ -4431,7 +4430,7 @@ static void rna_def_modifier_gpencilenvelope(BlenderRNA *brna)
srna = RNA_def_struct(brna, "EnvelopeGpencilModifier", "GpencilModifier");
RNA_def_struct_ui_text(srna, "Envelope Modifier", "Envelope stroke effect modifier");
RNA_def_struct_sdna(srna, "EnvelopeGpencilModifierData");
- RNA_def_struct_ui_icon(srna, ICON_MOD_SKIN);
+ RNA_def_struct_ui_icon(srna, ICON_MOD_ENVELOPE);
RNA_define_lib_overridable(true);