From 667e73c8675c9f948508ef37011e58c269df13a3 Mon Sep 17 00:00:00 2001 From: tong Date: Tue, 7 Sep 2021 10:15:11 +0200 Subject: [PATCH] Do not open build directory in background mode --- blender/arm/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender/arm/make.py b/blender/arm/make.py index b21770aa..243b928a 100755 --- a/blender/arm/make.py +++ b/blender/arm/make.py @@ -641,7 +641,7 @@ def build_success(): project_path = files_path + '-build' print('Exported makefiles to ' + project_path) - if arm.utils.get_arm_preferences().open_build_directory: + if not bpy.app.background and arm.utils.get_arm_preferences().open_build_directory: arm.utils.open_folder(project_path) # Android build APK