Skip to content

Update blender_thumbnailer.py to read Blender 5.x files - #1481

Open
050011-code wants to merge 5 commits into
TagStudioDev:mainfrom
050011-code:blend-thumbnail
Open

Update blender_thumbnailer.py to read Blender 5.x files#1481
050011-code wants to merge 5 commits into
TagStudioDev:mainfrom
050011-code:blend-thumbnail

Conversation

@050011-code

Copy link
Copy Markdown
Contributor

Summary

Updates blender_thumbnailer.py to read Blender 5.x files.

Refactor blender_thumbnailer.py to improve readability and maintainability. (Declaring this bit as AI made)

Handle file operations more safely.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

Updates blender_thumbnailer.py to read Blender 5.x files.
Also refactor blender_thumbnailer.py to improve readability and maintainability. (Declaring this bit as AI made)
Handle file operations more safely.
@050011-code

050011-code commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

Thats on me for not remembering to fix the formating
Looks like I also massacred the attribution

@050011-code

050011-code commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

I'm sorry I was trying to make this pull request on my own fork!

There are still errors as its current state was not meant to be for the original repo

@050011-code
050011-code marked this pull request as draft August 16, 2026 12:07
Refactor blender_thumbnailer.py to use type hints and improve readability.
Removed unnecessary logging statements to clean up code.
Updated image resizing method to use Image.Resampling.BICUBIC.
@050011-code
050011-code marked this pull request as ready for review August 17, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant