blend script working

This commit is contained in:
Nathan
2025-09-17 13:22:51 -06:00
parent d0885e105e
commit ff7bb567f3
4 changed files with 91 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ if exist "!TEMP_SCRIPT!" (
REM Run Blender to process the dragged files
echo Processing dragged .blend files...
echo Using script: !TEMP_SCRIPT!
del /f /q "blender_output.txt" 2>nul
blender --background --factory-startup --python "!TEMP_SCRIPT!" -- %* 2^>^&1 | powershell -NoProfile -Command "$input | Tee-Object -FilePath 'blender_output.txt'"
REM Clean up temporary script