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:
authorCampbell Barton <campbell@blender.org>2022-08-26 05:51:46 +0300
committerCampbell Barton <campbell@blender.org>2022-08-26 05:51:46 +0300
commit6fc7b37583a2fa0815ae50b8c604f823d863cab1 (patch)
treebbb02a7a513e43a634739c93904f5b23ad913ae0 /source/creator
parenta3e1a9e2aace26a71c2698cd96ce4086db25e94d (diff)
Cleanup: reduce variable scope
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator_signals.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c
index 65352f047f1..c016372e6b0 100644
--- a/source/creator/creator_signals.c
+++ b/source/creator/creator_signals.c
@@ -69,11 +69,10 @@ static void sig_handle_fpe(int UNUSED(sig))
# if !defined(WITH_HEADLESS)
static void sig_handle_blender_esc(int sig)
{
- static int count = 0;
-
G.is_break = true; /* forces render loop to read queue, not sure if its needed */
if (sig == 2) {
+ static int count = 0;
if (count) {
printf("\nBlender killed\n");
exit(2);