Fix T66768: Grid fill span not working
This commit is contained in:
parent
b63f0266a0
commit
796a2b5fc7
Notes:
blender-bot
2023-02-14 01:52:41 +01:00
Referenced by issue #66768, Grid Fill options not working in 2.8 RC
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue