diff options
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index d54437913f4..fa6a1f7b60c 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -567,7 +567,9 @@ static void gizmo_mesh_extrude_refresh(const bContext *C, wmGizmoGroup *gzgroup) WM_gizmo_set_matrix_location(man->adjust_xyz_no[i], tbounds.center); } - wmOperator *op = WM_operator_last_redo(C); + /* Adjust current operator. */ + /* Don't use 'WM_operator_last_redo' because selection actions will be ignored. */ + wmOperator *op = CTX_wm_manager(C)->operators.last; bool has_redo = (op && op->type == man->ot_extrude); /* Un-hide. */ |