diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-15 09:02:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-15 09:03:19 +0300 |
commit | e2c87c7e94210e98661efc76f89d34337a1f2c46 (patch) | |
tree | 1dba73d435045046a9c19851a5391525162a47fe /source/blender/editors/undo | |
parent | 27de412ca8de4edad99a46ebdb8aadd7003e42a6 (diff) |
Cleanup: unused var
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r-- | source/blender/editors/undo/ed_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c index 102065f5295..a28e24bc0f7 100644 --- a/source/blender/editors/undo/ed_undo.c +++ b/source/blender/editors/undo/ed_undo.c @@ -319,7 +319,7 @@ int ED_undo_operator_repeat(bContext *C, wmOperator *op) /* keep in sync with logic in view3d_panel_operator_redo() */ ARegion *ar_orig = CTX_wm_region(C); ARegion *ar_win = BKE_area_find_region_active_win(CTX_wm_area(C)); - + if (ar_win) { CTX_wm_region_set(C, ar_win); } |