diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 01:42:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 01:42:44 +0300 |
commit | a603bb34591c8b68977b026204658ce602a5dae6 (patch) | |
tree | f994fdd020a57370134264170903b3a4c028ee79 /source/blender | |
parent | e688c927eb3a82b21ba744ec57540ea2cd4f44c8 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesdna/intern/dna_defaults.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesdna/intern/dna_defaults.c b/source/blender/makesdna/intern/dna_defaults.c index 6c8b4d0acb1..1d4257328a4 100644 --- a/source/blender/makesdna/intern/dna_defaults.c +++ b/source/blender/makesdna/intern/dna_defaults.c @@ -556,7 +556,7 @@ const void *DNA_default_table[SDNA_TYPE_MAX] = { SDNA_DEFAULT_DECL(LengthGpencilModifierData), SDNA_DEFAULT_DECL(DashGpencilModifierData), SDNA_DEFAULT_DECL(DashGpencilModifierSegment), - SDNA_DEFAULT_DECL(ShrinkwrapGpencilModifierData) + SDNA_DEFAULT_DECL(ShrinkwrapGpencilModifierData), }; #undef SDNA_DEFAULT_DECL #undef SDNA_DEFAULT_DECL_EX diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 7ca77e1c290..e06aac31124 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -3491,9 +3491,8 @@ static void rna_def_modifier_gpencillength(BlenderRNA *brna) prop = RNA_def_property(srna, "random_start_factor", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "rand_start_fac"); RNA_def_property_ui_range(prop, -10.0f, 10.0f, 0.1, 1); - RNA_def_property_ui_text(prop, - "Random Start Factor", - "Size of random length added to the start of each stroke"); + RNA_def_property_ui_text( + prop, "Random Start Factor", "Size of random length added to the start of each stroke"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); prop = RNA_def_property(srna, "random_end_factor", PROP_FLOAT, PROP_NONE); |