GPencil: Fix presets error after changing parameter name

The old use_follow_draw was renamed to alignment_mode
This commit is contained in:
Antonioya
2019-05-20 16:40:57 +02:00
parent 49efb7bdbe
commit 3f4dd54ff7
4 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ gpcolor.pixel_size = 100.0
gpcolor.use_stroke_pattern = False
gpcolor.use_stroke_texture_mix = False
gpcolor.mix_stroke_factor = 0.0
gpcolor.use_follow_path = True
gpcolor.alignment_mode = 'PATH'
gpcolor.fill_style = 'SOLID'
gpcolor.fill_color = (0.5, 0.5, 0.5, 1.0)
gpcolor.fill_image = None

View File

@@ -10,7 +10,7 @@ gpcolor.pixel_size = 100.0
gpcolor.use_stroke_pattern = False
gpcolor.use_stroke_texture_mix = False
gpcolor.mix_stroke_factor = 0.0
gpcolor.use_follow_path = True
gpcolor.alignment_mode = 'PATH'
gpcolor.fill_style = 'SOLID'
gpcolor.fill_color = (0.5, 0.5, 0.5, 1.0)
gpcolor.fill_image = None

View File

@@ -10,7 +10,7 @@ gpcolor.pixel_size = 100.0
gpcolor.use_stroke_pattern = False
gpcolor.use_stroke_texture_mix = False
gpcolor.mix_stroke_factor = 0.0
gpcolor.use_follow_path = True
gpcolor.alignment_mode = 'PATH'
gpcolor.fill_style = 'SOLID'
gpcolor.fill_color = (0.5, 0.5, 0.5, 0.0)
gpcolor.fill_image = None

View File

@@ -672,7 +672,7 @@ class AddPresetGpencilMaterial(AddPresetBase, Operator):
"gpcolor.use_stroke_pattern",
"gpcolor.use_stroke_texture_mix",
"gpcolor.mix_stroke_factor",
"gpcolor.use_follow_path",
"gpcolor.alignment_mode",
"gpcolor.fill_style",
"gpcolor.fill_color",
"gpcolor.fill_image",