PyAPI: Redraw notifier when debug value changes
This commit is contained in:
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.
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue