From ba29fb9717c0a6fa88f6bfbe5194e3bb5a01d10d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 27 May 2023 21:21:22 +1000 Subject: [PATCH] Fix building WITH_PYTHON=OFF Missed when adding bpy.app.help_text() --- source/creator/creator_args.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 097d3f471fc..83edbe00399 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -2526,8 +2526,10 @@ void main_args_setup(bContext *C, bArgs *ba, bool all) # undef CB # undef CB_EX +# ifdef WITH_PYTHON /* Use for Python to extract help text (Python can't call directly - bad-level call). */ BPY_python_app_help_text_fn = main_args_help_as_string; +# endif } /**