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:
authorHans Goudey <h.goudey@me.com>2022-04-18 18:22:15 +0300
committerHans Goudey <h.goudey@me.com>2022-04-18 18:22:15 +0300
commitb45e566097c395f63db84bb76c935ae0850da475 (patch)
tree164b4ba5d09eb68bce02831619ea99d717e3aec6 /source/creator/creator_args.c
parented7bbbe16448711042cdef0dae8125d0fddd5808 (diff)
parentccd2e89d37fb4887045969c1a50a66ca024c8c11 (diff)
Merge branch 'master' into temp-mesh-cpp
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r--source/creator/creator_args.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index 05b7f1bcb85..b3f5d24ee8c 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -576,6 +576,7 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
BLI_args_print_arg_doc(ba, "--debug-depsgraph-pretty");
BLI_args_print_arg_doc(ba, "--debug-depsgraph-uuid");
BLI_args_print_arg_doc(ba, "--debug-ghost");
+ BLI_args_print_arg_doc(ba, "--debug-wintab");
BLI_args_print_arg_doc(ba, "--debug-gpu");
BLI_args_print_arg_doc(ba, "--debug-gpu-force-workarounds");
BLI_args_print_arg_doc(ba, "--debug-wm");
@@ -943,6 +944,12 @@ static const char arg_handle_debug_mode_generic_set_doc_wm[] =
"\n\t"
"Enable debug messages for the window manager, shows all operators in search, shows "
"keymap errors.";
+static const char arg_handle_debug_mode_generic_set_doc_ghost[] =
+ "\n\t"
+ "Enable debug messages for Ghost (Linux only).";
+static const char arg_handle_debug_mode_generic_set_doc_wintab[] =
+ "\n\t"
+ "Enable debug messages for Wintab.";
# ifdef WITH_XR_OPENXR
static const char arg_handle_debug_mode_generic_set_doc_xr[] =
"\n\t"
@@ -2130,8 +2137,13 @@ void main_args_setup(bContext *C, bArgs *ba)
BLI_args_add(ba,
NULL,
"--debug-ghost",
- CB_EX(arg_handle_debug_mode_generic_set, handlers),
+ CB_EX(arg_handle_debug_mode_generic_set, ghost),
(void *)G_DEBUG_GHOST);
+ BLI_args_add(ba,
+ NULL,
+ "--debug-wintab",
+ CB_EX(arg_handle_debug_mode_generic_set, wintab),
+ (void *)G_DEBUG_WINTAB);
BLI_args_add(ba, NULL, "--debug-all", CB(arg_handle_debug_mode_all), NULL);
BLI_args_add(ba, NULL, "--debug-io", CB(arg_handle_debug_mode_io), NULL);