diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-26 13:56:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-26 13:56:49 +0300 |
commit | 548d8a397c39f43459af404170614db6a18ebde1 (patch) | |
tree | 65f259ec6c179fb0af06fb893c4230beff674686 /source/blender/windowmanager/wm_window.h | |
parent | 7909f70f64e550633fd381b0875fc5ba21616187 (diff) |
Fix T85011: "Allow Execution" reloads the wrong file when recovering
Support custom revert actions, necessary for recover operations
to be able to reload the file with scripts enabled.
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r-- | source/blender/windowmanager/wm_window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h index 336db7edb50..0ac67b987d7 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -86,6 +86,7 @@ void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) ATTR_ int wm_window_new_exec(bContext *C, struct wmOperator *op); int wm_window_new_main_exec(bContext *C, struct wmOperator *op); +void wm_test_autorun_revert_action_set(struct wmOperatorType *ot, struct PointerRNA *ptr); void wm_test_autorun_warning(bContext *C); #ifdef __cplusplus |