[Bf-blender-cvs] [e76362b0589] greasepencil-edit-curve: GPencil: Fix missing screen update when use Fixed Simplify
Antonio Vazquez
noreply at git.blender.org
Mon Sep 28 17:57:54 CEST 2020
Commit: e76362b05899f15291f831597f34a7bf66086923
Author: Antonio Vazquez
Date: Mon Sep 28 17:57:48 2020 +0200
Branches: greasepencil-edit-curve
https://developer.blender.org/rBe76362b05899f15291f831597f34a7bf66086923
GPencil: Fix missing screen update when use Fixed Simplify
===================================================================
M source/blender/editors/gpencil/gpencil_edit.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index 35e9e86973a..b58db7002aa 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -4732,6 +4732,7 @@ static int gpencil_stroke_simplify_fixed_exec(bContext *C, wmOperator *op)
/* Go through each editable + selected stroke */
GP_EDITABLE_STROKES_BEGIN (gpstroke_iter, C, gpl, gps) {
if (gps->flag & GP_STROKE_SELECT) {
+ changed |= true;
for (int i = 0; i < steps; i++) {
BKE_gpencil_stroke_simplify_fixed(gpd, gps);
}
More information about the Bf-blender-cvs
mailing list