diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-08-18 17:35:04 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-08-18 17:35:04 +0300 |
commit | 41dd5a6c38cf6eb73111583c27199832acd73816 (patch) | |
tree | 628aa23e44a869451775025c69479a81aab373d0 | |
parent | aa7b2f1dd9f76b54be15c7fcd23bc7981f29f13e (diff) |
GPencil: Fix wrong material index in previous commit
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 64696c38997..537696a606e 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -4118,7 +4118,7 @@ static int gpencil_stroke_outline_exec(bContext *C, wmOperator *op) break; } case GP_STROKE_USE_CURRENT_MATERIAL: - gps_perimeter->mat_nr = gps_perimeter->mat_nr; + gps_perimeter->mat_nr = gps->mat_nr; break; case GP_STROKE_USE_NEW_MATERIAL: gps_perimeter->mat_nr = mat_idx; |