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:
authorAntonio Vazquez <blendergit@gmail.com>2022-08-18 17:35:04 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-08-18 17:35:04 +0300
commit41dd5a6c38cf6eb73111583c27199832acd73816 (patch)
tree628aa23e44a869451775025c69479a81aab373d0 /source/blender/editors/gpencil
parentaa7b2f1dd9f76b54be15c7fcd23bc7981f29f13e (diff)
GPencil: Fix wrong material index in previous commit
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c2
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;