[Bf-blender-cvs] [804f467a00b] blender-v2.80-release: Fix T66768: Grid fill span not working
Campbell Barton
noreply at git.blender.org
Wed Jul 24 16:28:39 CEST 2019
Commit: 804f467a00b13da6e8f2969cb3778863780ad4f3
Author: Campbell Barton
Date: Wed Jul 24 16:32:15 2019 +1000
Branches: blender-v2.80-release
https://developer.blender.org/rB804f467a00b13da6e8f2969cb3778863780ad4f3
Fix T66768: Grid fill span not working
===================================================================
M source/blender/editors/mesh/editmesh_tools.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 919de4cdb20..34c83263cac 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -4593,7 +4593,8 @@ static int edbm_fill_grid_exec(bContext *C, wmOperator *op)
/* Only reuse on redo because these settings need to match the current selection.
* We never want to use them on other geometry, repeat last for eg, see: T60777. */
- if ((op->flag & OP_IS_REPEAT_LAST) == 0 && RNA_property_is_set(op->ptr, prop_span)) {
+ if (((op->flag & OP_IS_INVOKE) || (op->flag & OP_IS_REPEAT_LAST) == 0) &&
+ RNA_property_is_set(op->ptr, prop_span)) {
span = RNA_property_int_get(op->ptr, prop_span);
span = min_ii(span, (clamp / 2) - 1);
calc_span = false;
More information about the Bf-blender-cvs
mailing list