[Bf-blender-cvs] [03fd2f7a5a4] master: Fix building WITH_HEADLESS
Sebastian Parborg
noreply at git.blender.org
Mon Oct 10 18:16:39 CEST 2022
Commit: 03fd2f7a5a4fdb8cf6bdd19e055beffd099648c0
Author: Sebastian Parborg
Date: Mon Oct 10 18:14:56 2022 +0200
Branches: master
https://developer.blender.org/rB03fd2f7a5a4fdb8cf6bdd19e055beffd099648c0
Fix building WITH_HEADLESS
An earlier commit removed the '#ifdef' check for the function call but not for
the function declaration.
===================================================================
M source/creator/creator_signals.c
===================================================================
diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c
index c016372e6b0..f67c4dde41d 100644
--- a/source/creator/creator_signals.c
+++ b/source/creator/creator_signals.c
@@ -66,7 +66,6 @@ static void sig_handle_fpe(int UNUSED(sig))
# endif
/* Handling `Ctrl-C` event in the console. */
-# if !defined(WITH_HEADLESS)
static void sig_handle_blender_esc(int sig)
{
G.is_break = true; /* forces render loop to read queue, not sure if its needed */
@@ -81,7 +80,6 @@ static void sig_handle_blender_esc(int sig)
count++;
}
}
-# endif
static void sig_handle_crash_backtrace(FILE *fp)
{
More information about the Bf-blender-cvs
mailing list