From 0e4a250279ffc95636643a08462cca04b6dd17de Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 9 Aug 2021 12:05:11 +0200 Subject: Fix invalid helps and description of session UUID verification A copy-paste error. --- source/blender/blenkernel/BKE_global.h | 3 ++- source/creator/creator_args.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index 31928b5e80a..89713e9ad0a 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -145,7 +145,8 @@ enum { G_DEBUG_DEPSGRAPH_TIME = (1 << 11), /* depsgraph timing statistics and messages */ G_DEBUG_DEPSGRAPH_NO_THREADS = (1 << 12), /* single threaded depsgraph */ G_DEBUG_DEPSGRAPH_PRETTY = (1 << 13), /* use pretty colors in depsgraph messages */ - G_DEBUG_DEPSGRAPH_UUID = (1 << 14), /* use pretty colors in depsgraph messages */ + G_DEBUG_DEPSGRAPH_UUID = (1 << 14), /* Verify validness of session-wide identifiers + * assigned to ID datablocks */ G_DEBUG_DEPSGRAPH = (G_DEBUG_DEPSGRAPH_BUILD | G_DEBUG_DEPSGRAPH_EVAL | G_DEBUG_DEPSGRAPH_TAG | G_DEBUG_DEPSGRAPH_TIME | G_DEBUG_DEPSGRAPH_UUID), G_DEBUG_SIMDATA = (1 << 15), /* sim debug data display */ diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 0f450624691..85ba4eca307 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -994,6 +994,9 @@ static const char arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads[] = static const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty[] = "\n\t" "Enable colors for dependency graph debug messages."; +static const char arg_handle_debug_mode_generic_set_doc_depsgraph_uuid[] = + "\n\t" + "Verify validness of session-wide identifiers assigned to ID datablocks."; static const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds[] = "\n\t" "Enable workarounds for typical GPU issues and disable all GPU extensions."; @@ -2197,7 +2200,7 @@ void main_args_setup(bContext *C, bArgs *ba) BLI_args_add(ba, NULL, "--debug-depsgraph-uuid", - CB_EX(arg_handle_debug_mode_generic_set, depsgraph_build), + CB_EX(arg_handle_debug_mode_generic_set, depsgraph_uuid), (void *)G_DEBUG_DEPSGRAPH_UUID); BLI_args_add(ba, NULL, -- cgit v1.2.3