Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-04-25 08:52:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-25 08:55:50 +0300
commitb00d971efe67799042577cf0391bb34e9f870835 (patch)
tree256b9796c0090c5ff2340bbe3b02d4b32ca65b12 /source/blender/windowmanager
parente944e215bf300cd1cea8698391679df1e3802a92 (diff)
UI: Apply remove redo region
This was a disabled part of the top-bar merge (code by @Severin) The only change made is to move to redo UI into a popover.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm.c2
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c
index dc941078fc2..5440fd15bef 100644
--- a/source/blender/windowmanager/intern/wm.c
+++ b/source/blender/windowmanager/intern/wm.c
@@ -165,10 +165,8 @@ void wm_operator_register(bContext *C, wmOperator *op)
wmWindowManager *wm = CTX_wm_manager(C);
int tot = 0;
-#ifdef WITH_REDO_REGION_REMOVAL
op->execution_area = CTX_wm_area(C);
op->execution_region = CTX_wm_region(C);
-#endif
BLI_addtail(&wm->operators, op);
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 8ebf7d0dbb0..495fac0123e 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -944,7 +944,6 @@ int WM_operator_call_notest(bContext *C, wmOperator *op)
*/
int WM_operator_repeat(bContext *C, wmOperator *op)
{
-#ifdef WITH_REDO_REGION_REMOVAL
const OperatorRepeatContextHandle *context_info;
int retval;
@@ -953,9 +952,6 @@ int WM_operator_repeat(bContext *C, wmOperator *op)
ED_operator_repeat_reset_context(C, context_info);
return retval;
-#else
- return wm_operator_exec(C, op, true, true);
-#endif
}
/**
* \return true if #WM_operator_repeat can run