Cleanup: de-duplicate popover_group arguments
[blender.git] / make.bat
index 4245071..17f9741 100644 (file)
--- a/make.bat
+++ b/make.bat
@@ -31,6 +31,12 @@ if "%BUILD_UPDATE%" == "1" (
        goto EOF
 )
 
+
+if "%FORMAT%" == "1" (
+       call "%BLENDER_DIR%\build_files\windows\format.cmd"
+       goto EOF
+)
+
 call "%BLENDER_DIR%\build_files\windows\detect_architecture.cmd"
 
 if "%BUILD_VS_YEAR%" == "" (
@@ -47,18 +53,13 @@ if "%BUILD_VS_YEAR%" == "" (
        )
 )
 
-call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
-if errorlevel 1 goto EOF
-
-if "%FORMAT%" == "1" (
-       call "%BLENDER_DIR%\build_files\windows\format.cmd"
-       goto EOF
-)
-
 call "%BLENDER_DIR%\build_files\windows\set_build_dir.cmd"
 
 echo Building blender with VS%BUILD_VS_YEAR% for %BUILD_ARCH% in %BUILD_DIR%
 
+call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
+if errorlevel 1 goto EOF
+
 call "%BLENDER_DIR%\build_files\windows\check_submodules.cmd"
 if errorlevel 1 goto EOF