Blender Crawl: Improvements based on User Feedback #53

Merged
Nick Alberelli merged 11 commits from fix/blender-crawl-improvements into main 2023-05-22 16:50:42 +02:00
2 changed files with 1 additions and 14 deletions
Showing only changes of commit 399279ff84 - Show all commits

View File

@ -187,7 +187,7 @@ def main() -> int:
# Purge is optional so it can be none
if purge_path is not None:
scripts.append(purge_path)
scripts.append(script_append_save(purge_path, args.nosave))
if not exec:
blender_exec = find_executable()

View File

@ -20,18 +20,5 @@
# (c) 2021, Blender Foundation
import bpy
# Setup prefs.
bpy.context.preferences.filepaths.save_version = 0 #TODO Figure out why this is here
# Purge.
print("Starting Recursive Purge")
bpy.ops.outliner.orphans_purge(do_local_ids=True, do_linked_ids=True, do_recursive=True)
# Save.
bpy.ops.wm.save_mainfile()
print("Saved file: %s", bpy.data.filepath)
# Quit.
print("Closing File")
bpy.ops.wm.quit_blender()