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:
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