PyAPI: Redraw notifier when debug value changes

This commit is contained in:
Campbell Barton 2016-01-09 22:48:50 +11:00
parent 0ded953eea
commit 296d125e25
Notes: blender-bot 2023-02-14 08:12:27 +01:00
Referenced by issue #47467, Boolean modifier is missing the "Use BMesh" option.
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,10 @@
#include "UI_interface_icons.h"
/* for notifiers */
#include "WM_api.h"
#include "WM_types.h"
#include "../generic/py_capi_utils.h"
#include "../generic/python_utildefines.h"
@ -270,6 +274,8 @@ static int bpy_app_debug_value_set(PyObject *UNUSED(self), PyObject *value, void
G.debug_value = param;
WM_main_add_notifier(NC_WINDOW, NULL);
return 0;
}