GPencil: Fix unreported select error in Normalize operator
The curve selection was wrongly checked.
This commit is contained in:
parent
8617ab153e
commit
a2bb3c4cad
Notes:
blender-bot
2023-02-14 02:30:11 +01:00
Referenced by issue #96241, 3.1: Potential candidates for corrective releases
|
@ -5432,7 +5432,7 @@ static int gpencil_stroke_normalize_exec(bContext *C, wmOperator *op)
|
|||
}
|
||||
bool is_curve_ready = (gps->editcurve != NULL);
|
||||
bool selected = (is_curve_edit && is_curve_ready) ?
|
||||
gps->editcurve->flag |= GP_CURVE_SELECT :
|
||||
(gps->editcurve->flag & GP_CURVE_SELECT) :
|
||||
(gps->flag & GP_STROKE_SELECT);
|
||||
if (!selected) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue