diff options
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_defaults.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_defaults.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h index a4ab38f6022..b9697beeea9 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h @@ -184,8 +184,6 @@ .layer_pass = 0, \ .hardeness = 1.0f, \ .curve_intensity = NULL, \ - .fading_end = 10.0f, \ - .fading_end_factor = 0.2f, \ } #define _DNA_DEFAULT_SimplifyGpencilModifierData \ @@ -253,8 +251,6 @@ .thickness_fac = 1.0f, \ .thickness = 30, \ .layer_pass = 0, \ - .fading_end = 10.0f, \ - .fading_end_factor = 0.2f, \ } #define _DNA_DEFAULT_TimeGpencilModifierData \ @@ -287,6 +283,20 @@ .colorband = NULL, \ } +#define _DNA_DEFAULT_WeightGpencilModifierData \ + { \ + .target_vgname = "", \ + .material = NULL, \ + .layername = "", \ + .vgname = "", \ + .pass_index = 0, \ + .flag = 0, \ + .axis = 1, \ + .layer_pass = 0, \ + .dist_start = 0.0f, \ + .dist_end = 20.0f, \ + } + #define _DNA_DEFAULT_LineartGpencilModifierData \ { \ .edge_types = LRT_EDGE_FLAG_ALL_TYPE, \ |