[Bf-blender-cvs] [d820d00890a] temp-gpencil-fill: GPencil: Save last extend value
Antonio Vazquez
noreply at git.blender.org
Wed Feb 3 10:11:57 CET 2021
Commit: d820d00890a9dae7f076b99ceebbed1b796143a3
Author: Antonio Vazquez
Date: Wed Feb 3 10:01:06 2021 +0100
Branches: temp-gpencil-fill
https://developer.blender.org/rBd820d00890a9dae7f076b99ceebbed1b796143a3
GPencil: Save last extend value
===================================================================
M source/blender/editors/gpencil/gpencil_fill.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index e88b11c7c1a..caf07c82842 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -2012,6 +2012,9 @@ static int gpencil_fill_modal(bContext *C, wmOperator *op, const wmEvent *event)
/* push undo data */
gpencil_undo_push(tgpf->gpd);
+ /* Save extend value for next operation. */
+ brush_settings->fill_extend_fac = tgpf->fill_extend_fac;
+
estate = OPERATOR_FINISHED;
}
else {
More information about the Bf-blender-cvs
mailing list