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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-10 01:24:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-10 01:27:20 +0300
commit2f44ea68d3dcbf60887617255136e659d7edff37 (patch)
treecb2fe299beb3a9937d3811879c490df557e1faa2 /source/blender/makesrna/intern/rna_gpencil_modifier.c
parent4d5c87f101b1c9bec3b2d7176873e806a1195cd7 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil_modifier.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index dc13f099e11..aca68992b59 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -84,30 +84,30 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
#ifndef RNA_RUNTIME
static const EnumPropertyItem modifier_modify_color_items[] = {
- { GP_MODIFY_COLOR_BOTH, "BOTH", 0, "Both", "Modify fill and stroke colors" },
- { GP_MODIFY_COLOR_STROKE, "STROKE", 0, "Stroke", "Modify stroke color only" },
- { GP_MODIFY_COLOR_FILL, "FILL", 0, "Fill", "Modify fill color only" },
- { 0, NULL, 0, NULL, NULL }
+ {GP_MODIFY_COLOR_BOTH, "BOTH", 0, "Both", "Modify fill and stroke colors"},
+ {GP_MODIFY_COLOR_STROKE, "STROKE", 0, "Stroke", "Modify stroke color only"},
+ {GP_MODIFY_COLOR_FILL, "FILL", 0, "Fill", "Modify fill color only"},
+ {0, NULL, 0, NULL, NULL}
};
static const EnumPropertyItem modifier_gphook_falloff_items[] = {
- { eGPHook_Falloff_None, "NONE", 0, "No Falloff", "" },
- { eGPHook_Falloff_Curve, "CURVE", 0, "Curve", "" },
- { eGPHook_Falloff_Smooth, "SMOOTH", ICON_SMOOTHCURVE, "Smooth", "" },
- { eGPHook_Falloff_Sphere, "SPHERE", ICON_SPHERECURVE, "Sphere", "" },
- { eGPHook_Falloff_Root, "ROOT", ICON_ROOTCURVE, "Root", "" },
- { eGPHook_Falloff_InvSquare, "INVERSE_SQUARE", ICON_ROOTCURVE, "Inverse Square", "" },
- { eGPHook_Falloff_Sharp, "SHARP", ICON_SHARPCURVE, "Sharp", "" },
- { eGPHook_Falloff_Linear, "LINEAR", ICON_LINCURVE, "Linear", "" },
- { eGPHook_Falloff_Const, "CONSTANT", ICON_NOCURVE, "Constant", "" },
- { 0, NULL, 0, NULL, NULL }
+ {eGPHook_Falloff_None, "NONE", 0, "No Falloff", ""},
+ {eGPHook_Falloff_Curve, "CURVE", 0, "Curve", ""},
+ {eGPHook_Falloff_Smooth, "SMOOTH", ICON_SMOOTHCURVE, "Smooth", ""},
+ {eGPHook_Falloff_Sphere, "SPHERE", ICON_SPHERECURVE, "Sphere", ""},
+ {eGPHook_Falloff_Root, "ROOT", ICON_ROOTCURVE, "Root", ""},
+ {eGPHook_Falloff_InvSquare, "INVERSE_SQUARE", ICON_ROOTCURVE, "Inverse Square", ""},
+ {eGPHook_Falloff_Sharp, "SHARP", ICON_SHARPCURVE, "Sharp", ""},
+ {eGPHook_Falloff_Linear, "LINEAR", ICON_LINCURVE, "Linear", ""},
+ {eGPHook_Falloff_Const, "CONSTANT", ICON_NOCURVE, "Constant", ""},
+ {0, NULL, 0, NULL, NULL}
};
static const EnumPropertyItem rna_enum_time_mode_items[] = {
- { GP_TIME_MODE_NORMAL, "NORMAL", 0, "Normal", "Apply offset in normal animation direction" },
- { GP_TIME_MODE_REVERSE, "REVERSE", 0, "Reverse", "Apply offset in reverse animation direction" },
- { GP_TIME_MODE_FIX, "FIX", 0, "Fixed Frame", "Keep frame and do not change with time" },
- { 0, NULL, 0, NULL, NULL }
+ {GP_TIME_MODE_NORMAL, "NORMAL", 0, "Normal", "Apply offset in normal animation direction"},
+ {GP_TIME_MODE_REVERSE, "REVERSE", 0, "Reverse", "Apply offset in reverse animation direction"},
+ {GP_TIME_MODE_FIX, "FIX", 0, "Fixed Frame", "Keep frame and do not change with time"},
+ {0, NULL, 0, NULL, NULL}
};
#endif
@@ -543,11 +543,11 @@ static void rna_def_modifier_gpencilsimplify(BlenderRNA *brna)
PropertyRNA *prop;
static EnumPropertyItem prop_gpencil_simplify_mode_items[] = {
- { GP_SIMPLIFY_FIXED, "FIXED", ICON_IPO_CONSTANT, "Fixed",
- "Delete alternative vertices in the stroke, except extrems" },
- { GP_SIMPLIFY_ADAPTATIVE, "ADAPTATIVE", ICON_IPO_EASE_IN_OUT, "Adaptative",
+ {GP_SIMPLIFY_FIXED, "FIXED", ICON_IPO_CONSTANT, "Fixed",
+ "Delete alternative vertices in the stroke, except extrems"},
+ {GP_SIMPLIFY_ADAPTATIVE, "ADAPTATIVE", ICON_IPO_EASE_IN_OUT, "Adaptative",
"Use a RDP algorithm to simplify" },
- { 0, NULL, 0, NULL, NULL }
+ {0, NULL, 0, NULL, NULL}
};
srna = RNA_def_struct(brna, "SimplifyGpencilModifier", "GpencilModifier");